aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/libgeotiff
diff options
context:
space:
mode:
authorlawrance <lawrance@FreeBSD.org>2006-01-04 13:15:01 +0800
committerlawrance <lawrance@FreeBSD.org>2006-01-04 13:15:01 +0800
commit37c080b87b456fce26da712fc92a3ca4c03cce53 (patch)
treea59461d9d64bc7d05fded9f36a3fdfc8e15223b4 /graphics/libgeotiff
parentb2f1187caf10350373ea1600be0864e5ccd1890e (diff)
downloadfreebsd-ports-gnome-37c080b87b456fce26da712fc92a3ca4c03cce53.tar.gz
freebsd-ports-gnome-37c080b87b456fce26da712fc92a3ca4c03cce53.tar.zst
freebsd-ports-gnome-37c080b87b456fce26da712fc92a3ca4c03cce53.zip
Attempt to fix build on amd64.
Reported by: kris
Diffstat (limited to 'graphics/libgeotiff')
-rw-r--r--graphics/libgeotiff/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/libgeotiff/Makefile b/graphics/libgeotiff/Makefile
index 16f512883635..233643c44a2d 100644
--- a/graphics/libgeotiff/Makefile
+++ b/graphics/libgeotiff/Makefile
@@ -26,4 +26,10 @@ CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "amd64"
+CFLAGS+= -fPIC
+.endif
+
+.include <bsd.port.post.mk>