aboutsummaryrefslogtreecommitdiffstats
path: root/x11/e17-module-language
diff options
context:
space:
mode:
authoralexbl <alexbl@FreeBSD.org>2006-09-17 12:39:06 +0800
committeralexbl <alexbl@FreeBSD.org>2006-09-17 12:39:06 +0800
commitce2676660ace853dfd0c9bd7bb264a7b6e8023c6 (patch)
tree0bfb9b9154a66ba01a23cbe17f7e441514fe9469 /x11/e17-module-language
parenteba24b5918f10d9d29560fbe02963b8ea1603e5c (diff)
downloadfreebsd-ports-gnome-ce2676660ace853dfd0c9bd7bb264a7b6e8023c6.tar.gz
freebsd-ports-gnome-ce2676660ace853dfd0c9bd7bb264a7b6e8023c6.tar.zst
freebsd-ports-gnome-ce2676660ace853dfd0c9bd7bb264a7b6e8023c6.zip
- Fix installation paths errors
PR: 103315 Submitted by: Stanislav Sedov <ssedov@mbsd.msk.ru> Approved by: novel (mentor)
Diffstat (limited to 'x11/e17-module-language')
-rw-r--r--x11/e17-module-language/Makefile3
-rw-r--r--x11/e17-module-language/files/patch-configure9
-rw-r--r--x11/e17-module-language/pkg-plist9
3 files changed, 9 insertions, 12 deletions
diff --git a/x11/e17-module-language/Makefile b/x11/e17-module-language/Makefile
index 68b06423d391..593b48b4e9ea 100644
--- a/x11/e17-module-language/Makefile
+++ b/x11/e17-module-language/Makefile
@@ -7,6 +7,7 @@
PORTNAME= language
PORTVERSION= 20060707
+PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= http://mbsd.msk.ru/dist/
PKGNAMEPREFIX= e17-module-
@@ -26,4 +27,6 @@ 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}
+
.include <bsd.port.mk>
diff --git a/x11/e17-module-language/files/patch-configure b/x11/e17-module-language/files/patch-configure
index d1c9f93a1370..16091f080088 100644
--- a/x11/e17-module-language/files/patch-configure
+++ b/x11/e17-module-language/files/patch-configure
@@ -1,14 +1,5 @@
--- configure.orig Sun Jul 9 23:28:34 2006
+++ configure Sun Jul 9 23:29:18 2006
-@@ -21503,7 +21503,7 @@
- #AM_GNU_GETTEXT([external])
- #AM_GNU_GETTEXT_VERSION(0.14)
-
--MODULE_ARCH="$host_os-$host_cpu"
-+MODULE_ARCH=""
-
-
- cat >>confdefs.h <<_ACEOF
@@ -22091,6 +22091,11 @@
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
diff --git a/x11/e17-module-language/pkg-plist b/x11/e17-module-language/pkg-plist
index 43dc4381aa07..c2b6e7a54141 100644
--- a/x11/e17-module-language/pkg-plist
+++ b/x11/e17-module-language/pkg-plist
@@ -1,3 +1,6 @@
+lib/enlightenment/modules/language/%%MODULE_ARCH%%/module.a
+lib/enlightenment/modules/language/%%MODULE_ARCH%%/module.la
+lib/enlightenment/modules/language/%%MODULE_ARCH%%/module.so
lib/enlightenment/modules/language/images/AFG_flag.png
lib/enlightenment/modules/language/images/ALB_flag.png
lib/enlightenment/modules/language/images/AND_flag.png
@@ -71,9 +74,9 @@ lib/enlightenment/modules/language/images/ZAR_flag.png
lib/enlightenment/modules/language/images/unknown_flag.png
lib/enlightenment/modules/language/language.edc
lib/enlightenment/modules/language/language.edj
-lib/enlightenment/modules/language/module.a
lib/enlightenment/modules/language/module.eap
-lib/enlightenment/modules/language/module.la
-lib/enlightenment/modules/language/module.so
@dirrm lib/enlightenment/modules/language/images
+@dirrm lib/enlightenment/modules/language/%%MODULE_ARCH%%
@dirrm lib/enlightenment/modules/language
+@dirrmtry lib/enlightenment/modules
+@dirrmtry lib/enlightenment