summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2011-05-02 21:51:23 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2011-05-02 21:51:23 +0000
commit90d8f92fd13088d3200f652358fc2928110ff5fc (patch)
treefedec720900f4762d5fb474c5abacf559f59d4a6 /sci-geosciences/mapserver/files/6.0.0_rc1-php_ldflags.patch
parentBump to new RC. (diff)
downloadgentoo-2-90d8f92fd13088d3200f652358fc2928110ff5fc.tar.gz
gentoo-2-90d8f92fd13088d3200f652358fc2928110ff5fc.tar.bz2
gentoo-2-90d8f92fd13088d3200f652358fc2928110ff5fc.zip
Make php extension really work.
(Portage version: 2.2.0_alpha30/cvs/Linux x86_64)
Diffstat (limited to 'sci-geosciences/mapserver/files/6.0.0_rc1-php_ldflags.patch')
-rw-r--r--sci-geosciences/mapserver/files/6.0.0_rc1-php_ldflags.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/sci-geosciences/mapserver/files/6.0.0_rc1-php_ldflags.patch b/sci-geosciences/mapserver/files/6.0.0_rc1-php_ldflags.patch
new file mode 100644
index 000000000000..706bae4ce7b1
--- /dev/null
+++ b/sci-geosciences/mapserver/files/6.0.0_rc1-php_ldflags.patch
@@ -0,0 +1,15 @@
+--- mapserver-6.0.0-rc1.old/mapscript/php/Makefile.in 2011-05-02 12:10:03.000000000 +0200
++++ mapserver-6.0.0-rc1/mapscript/php/Makefile.in 2011-05-02 23:43:15.000000000 +0200
+@@ -86,10 +86,10 @@
+
+
+ php_mapscript.so: $(PHPMS_OBJS) ../../libmapserver.a
+- $(LD) -o $@ $(PHPMS_OBJS) $(MS_LIBS)
++ $(LD) -o $@ $(LDFLAGS) $(PHPMS_OBJS) $(MS_LIBS)
+
+ php_proj.so: $(PHPPROJ_OBJS)
+- $(LD) -o $@ $(PHPPROJ_OBJS) $(MS_LIBS)
++ $(LD) -o $@ $(LDFLAGS) $(PHPPROJ_OBJS) $(MS_LIBS)
+
+ %.o: %.c php_mapscript_util.h php_mapscript.h
+ $(CC) $(CFLAGS112) -c -o $@ $<