[59467] trunk/dports/sysutils/rpm

afb at macports.org afb at macports.org
Thu Oct 15 07:32:20 PDT 2009


Revision: 59467
          http://trac.macports.org/changeset/59467
Author:   afb at macports.org
Date:     2009-10-15 07:32:19 -0700 (Thu, 15 Oct 2009)
Log Message:
-----------
allow building with -arch flag too (#21861)

Modified Paths:
--------------
    trunk/dports/sysutils/rpm/Portfile

Added Paths:
-----------
    trunk/dports/sysutils/rpm/files/patch-db3-configure

Modified: trunk/dports/sysutils/rpm/Portfile
===================================================================
--- trunk/dports/sysutils/rpm/Portfile	2009-10-15 13:53:52 UTC (rev 59466)
+++ trunk/dports/sysutils/rpm/Portfile	2009-10-15 14:32:19 UTC (rev 59467)
@@ -4,7 +4,7 @@
 
 name			rpm
 version			4.4.9
-revision                8
+revision                9
 platforms		darwin freebsd linux
 categories		sysutils archivers
 maintainers		mac.com:n3npq
@@ -52,6 +52,7 @@
 patchfiles		patch-neon.diff \
 			patch-macros.in \
 			patch-configure \
+			patch-db3-configure \
 			patch-Makefile.PL \
 			patch-darwin.prov \
 			patch-fts.c \

Added: trunk/dports/sysutils/rpm/files/patch-db3-configure
===================================================================
--- trunk/dports/sysutils/rpm/files/patch-db3-configure	                        (rev 0)
+++ trunk/dports/sysutils/rpm/files/patch-db3-configure	2009-10-15 14:32:19 UTC (rev 59467)
@@ -0,0 +1,11 @@
+--- db3/configure.orig	2005-08-27 00:55:46.000000000 +0200
++++ db3/configure	2009-10-15 15:48:53.000000000 +0200
+@@ -8,7 +8,7 @@
+ rm -f config.cache
+ 
+ # XXX edit CFLAGS= ... out of invocation args ???
+-ARGS="`echo $* | sed -e 's% [^ ]*CFLAGS=[^ ]*%%' -e 's% -[^-][^ ]*%%g' -e 's% --param=[^ ]*%%g' -e 's%--cache-file=.*$%%'`"
++ARGS="`echo $* | sed -e 's%-arch [^ ]*%%g' -e 's% [^ ]*CFLAGS=[^ ]*%%' -e 's% -[^-][^ ]*%%g' -e 's% --param=[^ ]*%%g' -e 's%--cache-file=.*$%%'`"
+ 
+ CC="$CC" CFLAGS="$CFLAGS" $db_dist/configure $ARGS \
+ 	--enable-shared --enable-static --enable-rpc \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091015/19891bd5/attachment.html>


More information about the macports-changes mailing list