- Fix build on amd64

Reported by:	ph (via pav)
Tinderbox'd by:	jadawin
This commit is contained in:
Pietro Cerutti 2009-09-04 10:01:51 +00:00
parent 01d0781dca
commit da91b9dd04
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=240854

View File

@ -36,7 +36,7 @@ RUN_DEPENDS+= cscope:${PORTSDIR}/devel/cscope
post-patch:
.if ${ARCH} == "amd64"
${REINPLACE_CMD} -e '58s|=|= -fPIC|' ${WRKSRC}/configure
${REINPLACE_CMD} -e '66s|=|= -fPIC|' ${WRKSRC}/configure
.endif
${REINPLACE_CMD} -e 's|wx-config|${WX_CONFIG}|g' ${WRKSRC}/configure
# Configure script does not respect --prefix