aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/ppmcaption/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/graphics/ppmcaption/Makefile b/graphics/ppmcaption/Makefile
index 8f1b09a5beef..79ba837f7c0b 100644
--- a/graphics/ppmcaption/Makefile
+++ b/graphics/ppmcaption/Makefile
@@ -14,7 +14,12 @@ MAINTAINER= markp@FreeBSD.org
COMMENT= A utility which adds text to images
GNU_CONFIGURE= yes
+CONFIGURE_ENV+= CPP="${CPP}"
CONFIGURE_ARGS+= --with-builtin="ncenB24.bdf -scale 0.5 -blur 5"
MAN1= ppmcaption.1
+USE_REINPLACE= yes
+
+post-patch:
+ ${REINPLACE_CMD} -e "s,-lang-c89,," ${WRKSRC}/configure
.include <bsd.port.mk>