Workaround to fix build on amd64.

Approved by:	portmgr
This commit is contained in:
Tilman Keskinoz 2004-10-05 12:31:26 +00:00
parent ee9cd0c55a
commit 58a0ad28e7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=118545

View File

@ -54,4 +54,10 @@ pre-everything::
post-patch:
${TOUCH} -t 200401230000 ${WRKSRC}/Makefile.am.in
.if ${ARCH} == "amd64"
post-configure:
${REINPLACE_CMD} -e "s,-O2,${CFLAGS} -fPIC," \
${WRKSRC}/bdb/build_unix/Makefile ${WRKSRC}/bdb/Makefile
.endif
.include <bsd.port.post.mk>