aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/ppmcaption
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2003-11-21 20:55:56 +0800
committerarved <arved@FreeBSD.org>2003-11-21 20:55:56 +0800
commit33d94ac9049270e8a9c5bb2aff632b55228bc2fc (patch)
treed6f8b95df85288988aaaa31b948a4ac969bef8bd /graphics/ppmcaption
parent13aa29d6d0967ffdd2cb54612e3fb131e7e2d781 (diff)
downloadfreebsd-ports-gnome-33d94ac9049270e8a9c5bb2aff632b55228bc2fc.tar.gz
freebsd-ports-gnome-33d94ac9049270e8a9c5bb2aff632b55228bc2fc.tar.zst
freebsd-ports-gnome-33d94ac9049270e8a9c5bb2aff632b55228bc2fc.zip
Fix build on 5.x
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>