scr2png build broken after 2003/07/11 commits

KATO Tsuguru tkato at prontomail.com
Sat Jul 12 09:16:24 PDT 2003


On Sat, 12 Jul 2003 10:23:24 -0400 (EDT)
Kenneth W Cochran <kwc at TheWorld.com> wrote:

> Any idea(s) as to fixing?  Should I file a pr?

Ah, It's my fault during making patch with PR ports/54100.

Please apply this patch to current ports tree.


diff -urN /usr/ports/graphics/scr2png/Makefile scr2png/Makefile
--- /usr/ports/graphics/scr2png/Makefile	Sat Jul 12 12:23:27 2003
+++ scr2png/Makefile	Sun Jul 13 01:01:59 2003
@@ -26,6 +26,7 @@
 
 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


More information about the freebsd-ports mailing list