aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/scr2png
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2003-07-13 15:16:09 +0800
committernork <nork@FreeBSD.org>2003-07-13 15:16:09 +0800
commit4a47c6bd1e1ec1648efbd0a034f9546e7d7e6fc8 (patch)
tree49657ad9be19573587780d79c9ed14ca0f072e96 /graphics/scr2png
parent898b9deec66df02dc9530de423883a51c0107e65 (diff)
downloadfreebsd-ports-gnome-4a47c6bd1e1ec1648efbd0a034f9546e7d7e6fc8.tar.gz
freebsd-ports-gnome-4a47c6bd1e1ec1648efbd0a034f9546e7d7e6fc8.tar.zst
freebsd-ports-gnome-4a47c6bd1e1ec1648efbd0a034f9546e7d7e6fc8.zip
Fix handling gd.h.
Reported by: Kenneth W Cochran <kwc@TheWorld.com> Submitted by: Ports Fury
Diffstat (limited to 'graphics/scr2png')
-rw-r--r--graphics/scr2png/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/scr2png/Makefile b/graphics/scr2png/Makefile
index ef803cc742cf..869047f80769 100644
--- a/graphics/scr2png/Makefile
+++ b/graphics/scr2png/Makefile
@@ -7,7 +7,7 @@
PORTNAME= scr2png
PORTVERSION= 1.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_LOCAL}
@@ -26,6 +26,7 @@ MANCOMPRESSED= yes
post-extract:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e 's|<gd/gd\.h>|<gd.h>|' ${WRKSRC}/scr2png.c
do-install:
@cd ${WRKSRC}; ${MAKE} BINDIR=${PREFIX}/bin SHAREDIR=${PREFIX} install