ports/100119: [MAINTAINER PATCH] x11/e17-module-screenshot fix MODULE_ARCH
Stanislav Sedov
ssedov at mbsd.msk.ru
Tue Jul 11 21:11:09 UTC 2006
>Number: 100119
>Category: ports
>Synopsis: [MAINTAINER PATCH] x11/e17-module-screenshot fix MODULE_ARCH
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Tue Jul 11 21:10:21 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Stanislav Sedov
>Release: FreeBSD 7.0-CURRENT i386
>Organization:
MBSD labs, Inc.
>Environment:
System: FreeBSD fonon.realnet 7.0-CURRENT FreeBSD 7.0-CURRENT #7: Sun Jun 18 20:51:36 MSD 2006 root at fonon.realnet:/work/src/fbsd-cur/src/sys/i386/compile/FONON i386
>Description:
In coordination with enlightenment-devel maintainer
(vanilla at freebsd.org) MODULE_ARCH was changed to
freebsd${OSREL}-${ARCH}. Appropriate patches
for evas and enlightenment-devel have been
commited.
This patch fixes e17-module-screenshot to work with current
version of enlightenment-devel. We should change
module location directory in order to account
this MODULE_ARCH changes.
Note: files/patch-configure file has been deleted.
>How-To-Repeat:
>Fix:
--- e17-module-screenshot.diff begins here ---
diff -ruN e17-module-screenshot.orig/Makefile e17-module-screenshot/Makefile
--- e17-module-screenshot.orig/Makefile Tue Jul 11 23:55:04 2006
+++ e17-module-screenshot/Makefile Wed Jul 12 00:29:11 2006
@@ -7,6 +7,7 @@
PORTNAME= screenshot
PORTVERSION= 20060707
+PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= http://mbsd.msk.ru/dist/
PKGNAMEPREFIX= e17-module-
@@ -24,6 +25,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}
OPTIONS= IMAGIC "Use ImageMagick" on \
SCROT "Use Scrot" off
diff -ruN e17-module-screenshot.orig/files/patch-configure e17-module-screenshot/files/patch-configure
--- e17-module-screenshot.orig/files/patch-configure Tue Jul 11 23:55:04 2006
+++ e17-module-screenshot/files/patch-configure Thu Jan 1 03:00:00 1970
@@ -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 -ruN e17-module-screenshot.orig/pkg-plist e17-module-screenshot/pkg-plist
--- e17-module-screenshot.orig/pkg-plist Tue Jul 11 23:55:04 2006
+++ e17-module-screenshot/pkg-plist Wed Jul 12 00:22:30 2006
@@ -2,10 +2,10 @@
lib/enlightenment/modules/screenshot/e17_titlebar_glint1.png
lib/enlightenment/modules/screenshot/e17_titlebar_glint2.png
lib/enlightenment/modules/screenshot/e17_titlebar_glint3.png
-lib/enlightenment/modules/screenshot/module.a
+lib/enlightenment/modules/screenshot/%%MODULE_ARCH%%/module.a
lib/enlightenment/modules/screenshot/module.eap
-lib/enlightenment/modules/screenshot/module.la
-lib/enlightenment/modules/screenshot/module.so
+lib/enlightenment/modules/screenshot/%%MODULE_ARCH%%/module.la
+lib/enlightenment/modules/screenshot/%%MODULE_ARCH%%/module.so
lib/enlightenment/modules/screenshot/module_icon.png
%%NLS%%share/locale/eo/LC_MESSAGES/screenshot.mo
%%NLS%%share/locale/fi/LC_MESSAGES/screenshot.mo
@@ -14,4 +14,5 @@
%%NLS%%share/locale/ja/LC_MESSAGES/screenshot.mo
%%NLS%%share/locale/ru/LC_MESSAGES/screenshot.mo
%%NLS%%share/locale/sv/LC_MESSAGES/screenshot.mo
+ at dirrm lib/enlightenment/modules/screenshot/%%MODULE_ARCH%%
@dirrm lib/enlightenment/modules/screenshot
--- e17-module-screenshot.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list