aboutsummaryrefslogtreecommitdiff
path: root/devel/libtar
diff options
context:
space:
mode:
authorMichael Johnson <ahze@FreeBSD.org>2005-07-14 23:21:22 +0000
committerMichael Johnson <ahze@FreeBSD.org>2005-07-14 23:21:22 +0000
commit8445d6503611f8e7cc786a7cd3830e3957a10001 (patch)
tree6677122f7994d455c461c20c7a127378a3d378c4 /devel/libtar
parent4f7c76fe41e46926d5cf61dc1c2f417a90e9f453 (diff)
downloadports-8445d6503611f8e7cc786a7cd3830e3957a10001.tar.gz
ports-8445d6503611f8e7cc786a7cd3830e3957a10001.zip
Notes
Diffstat (limited to 'devel/libtar')
-rw-r--r--devel/libtar/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/devel/libtar/Makefile b/devel/libtar/Makefile
index 7de203875e10..77fe76ab04ae 100644
--- a/devel/libtar/Makefile
+++ b/devel/libtar/Makefile
@@ -18,6 +18,7 @@ USE_GMAKE= yes
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}"
post-install:
${INSTALL_DATA} ${WRKSRC}/lib/libtar.so.0 ${PREFIX}/lib
@@ -25,4 +26,9 @@ post-install:
.include <bsd.port.pre.mk>
.include "files/manpages"
+
+.if ${ARCH}!="i386"
+CPPFLAGS+= -fPIC
+.endif
+
.include <bsd.port.post.mk>