[45046] trunk/dports/gnustep/gnustep-make
jmr at macports.org
jmr at macports.org
Wed Jan 7 06:25:28 PST 2009
Revision: 45046
http://trac.macports.org/changeset/45046
Author: jmr at macports.org
Date: 2009-01-07 06:25:28 -0800 (Wed, 07 Jan 2009)
Log Message:
-----------
gnustep-make: don't use flat namespace (no rev bump, in before the index)
Modified Paths:
--------------
trunk/dports/gnustep/gnustep-make/Portfile
Added Paths:
-----------
trunk/dports/gnustep/gnustep-make/files/
trunk/dports/gnustep/gnustep-make/files/patch-target.make.diff
Modified: trunk/dports/gnustep/gnustep-make/Portfile
===================================================================
--- trunk/dports/gnustep/gnustep-make/Portfile 2009-01-07 14:07:15 UTC (rev 45045)
+++ trunk/dports/gnustep/gnustep-make/Portfile 2009-01-07 14:25:28 UTC (rev 45046)
@@ -26,6 +26,8 @@
universal_variant no
depends_run port:gcc42
+patchfiles patch-target.make.diff
+
configure.args CC=gcc-mp-4.2 \
--with-library-combo=gnu-gnu-gnu
Added: trunk/dports/gnustep/gnustep-make/files/patch-target.make.diff
===================================================================
--- trunk/dports/gnustep/gnustep-make/files/patch-target.make.diff (rev 0)
+++ trunk/dports/gnustep/gnustep-make/files/patch-target.make.diff 2009-01-07 14:25:28 UTC (rev 45046)
@@ -0,0 +1,20 @@
+--- target.make.orig 2008-02-19 21:49:20.000000000 +1100
++++ target.make 2009-01-08 01:21:50.000000000 +1100
+@@ -299,7 +299,7 @@
+ ifeq ($(OBJC_RUNTIME_LIB), gnu)
+ # GNU compiler
+
+-INTERNAL_LDFLAGS += -flat_namespace -undefined warning
++INTERNAL_LDFLAGS += -undefined dynamic_lookup
+
+ SHARED_LD_PREFLAGS += -Wl,-noall_load -read_only_relocs warning $(CC_LDFLAGS)
+ # Useful flag: -Wl,-single_module. This flag only
+@@ -337,7 +337,7 @@
+ # Apple Compiler
+
+ #DYLIB_EXTRA_FLAGS = -read_only_relocs warning -undefined warning -fno-common
+-DYLIB_EXTRA_FLAGS = -flat_namespace -undefined warning
++DYLIB_EXTRA_FLAGS = -undefined dynamic_lookup
+ # Useful optimization flag: -Wl,-single_module. This flag only
+ # works starting with 10.3.
+ ifeq ($(findstring darwin7, $(GNUSTEP_TARGET_OS)), darwin7)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090107/a229e370/attachment.html>
More information about the macports-changes
mailing list