diff options
author | Sam Lawrance <lawrance@FreeBSD.org> | 2006-01-04 05:15:01 +0000 |
---|---|---|
committer | Sam Lawrance <lawrance@FreeBSD.org> | 2006-01-04 05:15:01 +0000 |
commit | 833a6a1d10290e4d80e17ccd8e41857b1b55cbdc (patch) | |
tree | 8b961348472471582fecdc802fdcd4247bf4520d | |
parent | e9d900aadd0caa880610263d69f72c243ab87e07 (diff) | |
download | freebsd-ports-833a6a1d10290e4d80e17ccd8e41857b1b55cbdc.zip |
Attempt to fix build on amd64.
Reported by: kris
-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> |