Index: Makefile =================================================================== RCS file: /home/pcvs/ports/graphics/jhead/Makefile,v retrieving revision 1.26 diff -u -r1.26 Makefile --- Makefile 5 Feb 2010 11:38:46 -0000 1.26 +++ Makefile 8 Feb 2010 13:28:50 -0000 @@ -7,7 +7,7 @@ PORTNAME= jhead PORTVERSION= 2.88 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= http://www.sentex.net/~mwandel/jhead/ \ http://www.is-root.com/myports/ @@ -24,6 +24,9 @@ PLIST_FILES= bin/jhead MAN1= jhead.1 +post-patch: + @${REINPLACE_CMD} -E '/^CFLAGS=/d' ${WRKSRC}/makefile + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/jhead ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/jhead.1 ${PREFIX}/man/man1