aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authordemon <demon@FreeBSD.org>2012-08-16 15:42:00 +0800
committerdemon <demon@FreeBSD.org>2012-08-16 15:42:00 +0800
commit9331895484faa026dae8a14abbc7a50bd56d26a4 (patch)
treed9965a516286c3be3201fed26867524ed15eb79d /textproc
parentf41a2a14658d0e27d4546f16c94b9d030319d43e (diff)
downloadfreebsd-ports-gnome-9331895484faa026dae8a14abbc7a50bd56d26a4.tar.gz
freebsd-ports-gnome-9331895484faa026dae8a14abbc7a50bd56d26a4.tar.zst
freebsd-ports-gnome-9331895484faa026dae8a14abbc7a50bd56d26a4.zip
Compile static libxml2.a with -fPIC so 3rd party shared libs can
link statically with libxml2.a. OK from: mezz
Diffstat (limited to 'textproc')
-rw-r--r--textproc/libxml2/files/patch-Makefile.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/textproc/libxml2/files/patch-Makefile.in b/textproc/libxml2/files/patch-Makefile.in
new file mode 100644
index 000000000000..9bd2f4a72418
--- /dev/null
+++ b/textproc/libxml2/files/patch-Makefile.in
@@ -0,0 +1,11 @@
+--- Makefile.in.orig 2010-11-04 20:28:16.000000000 +0300
++++ Makefile.in 2012-08-16 11:15:53.000000000 +0400
+@@ -1069,7 +1069,7 @@
+ @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
+
+ .c.lo:
+-@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
++@am__fastdepCC_TRUE@ $(LTCOMPILE) -fPIC -DPIC -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
+ @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@