summaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
Diffstat (limited to 'x11')
-rw-r--r--x11/e17-module-weather/Makefile4
-rw-r--r--x11/e17-module-weather/files/patch-configure11
-rw-r--r--x11/e17-module-weather/pkg-plist7
3 files changed, 7 insertions, 15 deletions
diff --git a/x11/e17-module-weather/Makefile b/x11/e17-module-weather/Makefile
index f53f241..8d4ccdd 100644
--- a/x11/e17-module-weather/Makefile
+++ b/x11/e17-module-weather/Makefile
@@ -7,7 +7,7 @@
PORTNAME= weather
PORTVERSION= 23062006
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= x11
MASTER_SITES= http://mbsd.msk.ru/dist/
PKGNAMEPREFIX= e17-module-
@@ -26,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-weather/files/patch-configure b/x11/e17-module-weather/files/patch-configure
deleted file mode 100644
index f4922f2..0000000
--- a/x11/e17-module-weather/files/patch-configure
+++ /dev/null
@@ -1,11 +0,0 @@
---- configure.orig Fri Jun 23 17:10:30 2006
-+++ configure Fri Jun 23 17:10:42 2006
-@@ -23390,7 +23390,7 @@
-
-
-
--MODULE_ARCH="$host_os-$host_cpu"
-+MODULE_ARCH=""
-
-
- cat >>confdefs.h <<_ACEOF
diff --git a/x11/e17-module-weather/pkg-plist b/x11/e17-module-weather/pkg-plist
index 8447bc3..66c078b 100644
--- a/x11/e17-module-weather/pkg-plist
+++ b/x11/e17-module-weather/pkg-plist
@@ -61,10 +61,10 @@ lib/enlightenment/modules/weather/images/unknown.png
lib/enlightenment/modules/weather/images/wind.png
lib/enlightenment/modules/weather/images/wswarning.png
lib/enlightenment/modules/weather/images/wswatch.png
-lib/enlightenment/modules/weather/module.a
+lib/enlightenment/modules/weather/%%MODULE_ARCH%%/module.a
lib/enlightenment/modules/weather/module.eap
-lib/enlightenment/modules/weather/module.la
-lib/enlightenment/modules/weather/module.so
+lib/enlightenment/modules/weather/%%MODULE_ARCH%%/module.la
+lib/enlightenment/modules/weather/%%MODULE_ARCH%%/module.so
lib/enlightenment/modules/weather/module_icon.png
lib/enlightenment/modules/weather/vera.ttf
lib/enlightenment/modules/weather/weather.edc
@@ -73,4 +73,5 @@ lib/enlightenment/modules/weather/weather.edj
%%NLS%%share/locale/it/LC_MESSAGES/weather.mo
%%NLS%%share/locale/ja/LC_MESSAGES/weather.mo
@dirrm lib/enlightenment/modules/weather/images
+@dirrm lib/enlightenment/modules/weather/%%MODULE_ARCH%%
@dirrm lib/enlightenment/modules/weather
OpenPOWER on IntegriCloud