aboutsummaryrefslogtreecommitdiff
path: root/math/sage/files/patch-build_pkgs_gd_spkg-install
diff options
context:
space:
mode:
authorStephen Montgomery-Smith <stephen@FreeBSD.org>2014-12-07 16:01:20 +0000
committerStephen Montgomery-Smith <stephen@FreeBSD.org>2014-12-07 16:01:20 +0000
commit8a80f53a2ff0751119d364de0c958048f95ee216 (patch)
treee0423bc7d61ea796bac2a50fa8ec6d4bf4c61e8d /math/sage/files/patch-build_pkgs_gd_spkg-install
parentbff6c91bd6c8fbbd295169e6bd9a67b63d8210ab (diff)
Notes
Diffstat (limited to 'math/sage/files/patch-build_pkgs_gd_spkg-install')
-rw-r--r--math/sage/files/patch-build_pkgs_gd_spkg-install12
1 files changed, 12 insertions, 0 deletions
diff --git a/math/sage/files/patch-build_pkgs_gd_spkg-install b/math/sage/files/patch-build_pkgs_gd_spkg-install
new file mode 100644
index 000000000000..56b4ba74802f
--- /dev/null
+++ b/math/sage/files/patch-build_pkgs_gd_spkg-install
@@ -0,0 +1,12 @@
+--- build/pkgs/gd/spkg-install-orig 2014-12-06 21:44:37.000000000 +0000
++++ build/pkgs/gd/spkg-install 2014-12-06 21:47:08.000000000 +0000
+@@ -24,7 +24,8 @@
+
+ # Needed to correctly pickup libiconv on FreeBSD
+ if [ `uname` = "FreeBSD" ] ; then
+- LDFLAGS="-L/usr/local/lib"; export LDFLAGS
++ LDFLAGS="-L${LOCALBASE}/lib"; export LDFLAGS
++ CFLAGS="-I${LOCALBASE}/include"; export CFLAGS
+ fi
+
+ # needed to pick up zlib.h