Fix build by forcing -lpopt.

This commit is contained in:
Adam Weinberger 2014-09-10 22:03:13 +00:00
parent ba5921dac6
commit 6581fe3012
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=367900

View file

@ -33,5 +33,7 @@ SVMCP_RUN_DEPENDS= ${LOCALBASE}/lib/sablevm-classpath/libjavalang.so:${PORTSDIR}
post-patch:
@${REINPLACE_CMD} -e 's,^subdirs=".*,,' ${WRKSRC}/configure
@${REINPLACE_CMD} -e '/^sablevm_LDADD =/s/$$/ -lpopt/' \
${WRKSRC}/src/sablevm/Makefile.in
.include <bsd.port.mk>