aboutsummaryrefslogtreecommitdiff
path: root/graphics/ppmcaption
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2003-11-21 12:55:56 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2003-11-21 12:55:56 +0000
commitfc3f340a1314a0f7185ee351644a03c9ba860b52 (patch)
treef979ca5e3dc0d5f7b455de9c0aef1d983e2a2f8a /graphics/ppmcaption
parentd89ff581c170d278c118b28f9921e361030eb9f8 (diff)
downloadports-fc3f340a1314a0f7185ee351644a03c9ba860b52.tar.gz
ports-fc3f340a1314a0f7185ee351644a03c9ba860b52.zip
Fix build on 5.x
Notes
Notes: svn path=/head/; revision=94642
Diffstat (limited to 'graphics/ppmcaption')
-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>