1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

Build only the shared library with -fPIC

This commit is contained in:
Tilman Keskinoz 2004-03-22 13:06:48 +00:00
parent 0fbfd31ea2
commit 49643b85ab
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=104927

View File

@ -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