- fix build on FreeBSD 7.x

Submitted by:	pawel
This commit is contained in:
Dirk Meyer 2013-02-17 13:43:37 +00:00
parent 735a4f88f7
commit 44b1891e99
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=312415

View file

@ -430,7 +430,8 @@ post-patch:
-e 's|libdir=@libdir@|libdir=@libdir@/@PACKAGE@|';
@${REINPLACE_CMD} -e "s|/usr/include/php|${LOCALBASE}/include/php|g" \
-e "s|vendorarch|installsitearch|g" \
-e "s|-lruby|-lruby${RUBY_SUFFIX}|g" ${WRKSRC}/configure
-e "s|-lruby|-lruby${RUBY_SUFFIX}|g" \
-e '/if test/ s| == | = |g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|#include "gui.h"|#include "gui/gui.h"|' \
${WRKSRC}/cmd/smyrna/tvnodes.h
${CP} ${WRKSRC}/lib/cgraph/cgraph.h ${WRKSRC}/plugin/ming/