ports/100115: [MAINTAINER PATCH] x11/e17-module-mail fix MODULE_ARCH

Stanislav Sedov ssedov at mbsd.msk.ru
Tue Jul 11 21:10:59 UTC 2006


>Number:         100115
>Category:       ports
>Synopsis:       [MAINTAINER PATCH] x11/e17-module-mail 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:19 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-mail 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-mail.diff begins here ---
diff -ruN e17-module-mail.orig/Makefile e17-module-mail/Makefile
--- e17-module-mail.orig/Makefile	Tue Jul 11 23:55:04 2006
+++ e17-module-mail/Makefile	Wed Jul 12 00:29:11 2006
@@ -7,6 +7,7 @@
 
 PORTNAME=	mail
 PORTVERSION=	20060707
+PORTREVISION=	1
 CATEGORIES=	x11
 MASTER_SITES=	http://mbsd.msk.ru/dist/
 PKGNAMEPREFIX=	e17-module-
@@ -24,5 +25,7 @@
 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 -ruN e17-module-mail.orig/files/patch-configure e17-module-mail/files/patch-configure
--- e17-module-mail.orig/files/patch-configure	Tue Jul 11 23:55:04 2006
+++ e17-module-mail/files/patch-configure	Thu Jan  1 03:00:00 1970
@@ -1,11 +0,0 @@
---- configure.orig	Fri Jun 23 17:14:42 2006
-+++ configure	Fri Jun 23 17:14:53 2006
-@@ -23390,7 +23390,7 @@
- 
- 
- 
--MODULE_ARCH="$host_os-$host_cpu"
-+MODULE_ARCH=""
- 
- 
- cat >>confdefs.h <<_ACEOF
diff -ruN e17-module-mail.orig/pkg-plist e17-module-mail/pkg-plist
--- e17-module-mail.orig/pkg-plist	Tue Jul 11 23:55:04 2006
+++ e17-module-mail/pkg-plist	Wed Jul 12 00:21:44 2006
@@ -1,8 +1,9 @@
 lib/enlightenment/modules/mail/mail.edj
-lib/enlightenment/modules/mail/module.a
+lib/enlightenment/modules/mail/%%MODULE_ARCH%%/module.a
 lib/enlightenment/modules/mail/module.eap
-lib/enlightenment/modules/mail/module.la
-lib/enlightenment/modules/mail/module.so
+lib/enlightenment/modules/mail/%%MODULE_ARCH%%/module.la
+lib/enlightenment/modules/mail/%%MODULE_ARCH%%/module.so
 lib/enlightenment/modules/mail/module_icon.png
 lib/enlightenment/modules/mail/newmail.png
+ at dirrm lib/enlightenment/modules/mail/%%MODULE_ARCH%%
 @dirrm lib/enlightenment/modules/mail
--- e17-module-mail.diff ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list