aboutsummaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-07-12 20:19:31 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-07-12 20:19:31 +0000
commita7413bee676adbde9b3289656394deeafc16fefc (patch)
treee0a3fd76b01fd797892296f50e6f86ed3eb5a72c /x11
parent01d9e71d1694de1c003ebf06d147bfd21f8ef99d (diff)
downloadports-a7413bee676adbde9b3289656394deeafc16fefc.tar.gz
ports-a7413bee676adbde9b3289656394deeafc16fefc.zip
Notes
Diffstat (limited to 'x11')
-rw-r--r--x11/e17-module-cpu/Makefile3
-rw-r--r--x11/e17-module-cpu/files/patch-configure11
-rw-r--r--x11/e17-module-cpu/pkg-plist7
3 files changed, 7 insertions, 14 deletions
diff --git a/x11/e17-module-cpu/Makefile b/x11/e17-module-cpu/Makefile
index 187f09dc5588..fa8c0da18c55 100644
--- a/x11/e17-module-cpu/Makefile
+++ b/x11/e17-module-cpu/Makefile
@@ -7,6 +7,7 @@
PORTNAME= cpu
PORTVERSION= 20060707
+PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= http://mbsd.msk.ru/dist/
PKGNAMEPREFIX= e17-module-
@@ -25,6 +26,8 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
+PLIST_SUB+= MODULE_ARCH=freebsd${OSREL}-${ARCH}
+
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
diff --git a/x11/e17-module-cpu/files/patch-configure b/x11/e17-module-cpu/files/patch-configure
deleted file mode 100644
index bc913371e95e..000000000000
--- a/x11/e17-module-cpu/files/patch-configure
+++ /dev/null
@@ -1,11 +0,0 @@
---- configure.orig Fri Jun 23 16:14:40 2006
-+++ configure Fri Jun 23 16:14:53 2006
-@@ -21497,7 +21497,7 @@
-
-
-
--MODULE_ARCH="$host_os-$host_cpu"
-+MODULE_ARCH=""
-
-
- cat >>confdefs.h <<_ACEOF
diff --git a/x11/e17-module-cpu/pkg-plist b/x11/e17-module-cpu/pkg-plist
index d87fb1dfae0b..33b6656b67a2 100644
--- a/x11/e17-module-cpu/pkg-plist
+++ b/x11/e17-module-cpu/pkg-plist
@@ -1,8 +1,8 @@
lib/enlightenment/modules/cpu/cpu.edj
-lib/enlightenment/modules/cpu/module.a
+lib/enlightenment/modules/cpu/%%MODULE_ARCH%%/module.a
lib/enlightenment/modules/cpu/module.eap
-lib/enlightenment/modules/cpu/module.la
-lib/enlightenment/modules/cpu/module.so
+lib/enlightenment/modules/cpu/%%MODULE_ARCH%%/module.la
+lib/enlightenment/modules/cpu/%%MODULE_ARCH%%/module.so
lib/enlightenment/modules/cpu/module_icon.png
%%NLS%%share/locale/bg/LC_MESSAGES/cpu.mo
%%NLS%%share/locale/eo/LC_MESSAGES/cpu.mo
@@ -11,4 +11,5 @@ lib/enlightenment/modules/cpu/module_icon.png
%%NLS%%share/locale/ja/LC_MESSAGES/cpu.mo
%%NLS%%share/locale/ru/LC_MESSAGES/cpu.mo
%%NLS%%share/locale/sv/LC_MESSAGES/cpu.mo
+@dirrm lib/enlightenment/modules/cpu/%%MODULE_ARCH%%
@dirrm lib/enlightenment/modules/cpu