Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 May 2008 12:04:47 -0400
From:      Gary Palmer <gpalmer@freebsd.org>
To:        FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/123934: devel/pear-PhpDocumentor creates invalid PHP code during post-patch
Message-ID:  <20080523160447.GA1142@in-addr.com>
In-Reply-To: <200805231600.m4NG0281050726@freefall.freebsd.org>
References:  <200805231548.m4NFmktK002771@www.freebsd.org> <200805231600.m4NG0281050726@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--RnlQjJ0d97Da+TV1
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline


The (hopefully) attached patch seems to fix the problem



--RnlQjJ0d97Da+TV1
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="phpdoc-patch.txt"

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 ; \

--RnlQjJ0d97Da+TV1--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080523160447.GA1142>