diff options
author | lawrance <lawrance@FreeBSD.org> | 2006-01-04 13:15:01 +0800 |
---|---|---|
committer | lawrance <lawrance@FreeBSD.org> | 2006-01-04 13:15:01 +0800 |
commit | 37c080b87b456fce26da712fc92a3ca4c03cce53 (patch) | |
tree | a59461d9d64bc7d05fded9f36a3fdfc8e15223b4 /graphics/libgeotiff | |
parent | b2f1187caf10350373ea1600be0864e5ccd1890e (diff) | |
download | freebsd-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/Makefile | 8 |
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> |