summaryrefslogtreecommitdiffstats
path: root/devel/mime
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2004-03-22 13:06:48 +0000
committerarved <arved@FreeBSD.org>2004-03-22 13:06:48 +0000
commitc4482bc48b0ef5f7e7bc5bdb52cced809aa8f30c (patch)
tree2e3c12c67ed958afcecb9547633f7fe0d47d065f /devel/mime
parent35820761b88767da6a4f525a8b7a11cfca3e552a (diff)
downloadFreeBSD-ports-c4482bc48b0ef5f7e7bc5bdb52cced809aa8f30c.zip
FreeBSD-ports-c4482bc48b0ef5f7e7bc5bdb52cced809aa8f30c.tar.gz
Build only the shared library with -fPIC
Diffstat (limited to 'devel/mime')
-rw-r--r--devel/mime/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/devel/mime/Makefile b/devel/mime/Makefile
index b314195..6566d62 100644
--- a/devel/mime/Makefile
+++ b/devel/mime/Makefile
@@ -14,7 +14,10 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= C library to parse mime data
GNU_CONFIGURE= yes
-CFLAGS+="-fPIC"
+USE_REINPLACE= yes
+
+post-patch:
+ ${REINPLACE_CMD} -e "s,-fpic,-fpic -fPIC,g" ${WRKSRC}/Makefile.in
post-install:
@${LDCONFIG} -m ${PREFIX}/lib
OpenPOWER on IntegriCloud