From 44b1891e9949bab8cd31df2b905ae6ac4db550b7 Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Sun, 17 Feb 2013 13:43:37 +0000 Subject: [PATCH] - fix build on FreeBSD 7.x Submitted by: pawel --- graphics/graphviz/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/graphics/graphviz/Makefile b/graphics/graphviz/Makefile index 8c37e81884a6..04f239e40a57 100644 --- a/graphics/graphviz/Makefile +++ b/graphics/graphviz/Makefile @@ -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/