ports/123934: devel/pear-PhpDocumentor creates invalid PHP code during post-patch

Gary Palmer gpalmer at freebsd.org
Fri May 23 16:04:48 UTC 2008


The (hopefully) attached patch seems to fix the problem


-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/pear-PhpDocumentor/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- Makefile	19 Apr 2008 22:22:34 -0000	1.5
+++ Makefile	23 May 2008 15:55:02 -0000
@@ -1255,7 +1255,7 @@
 
 post-patch:
 .for file in ${SUBFILES}
-	@${REINPLACE_CMD} -e 's|VER|${PORTVERSION}|g ; \
+	@${REINPLACE_CMD} -e 's|@VER@|${PORTVERSION}|g ; \
 		 s|@PEAR-DIR@|${PEARDIR}|g ; \
 		 s|@DATA-DIR@|${DATADIR:S,/${PORTNAME}$,,}|g ; \
 		 s|@WEB-DIR@|${DATADIR:S,/${PORTNAME}$,,}|g ; \


More information about the freebsd-ports-bugs mailing list