cvs commit: ports/www/bozohttpd Makefile distinfo ports/www/bozohttpd/files patch-bozohttpd.8

Sahil Tandon sahil at FreeBSD.org
Wed Feb 16 02:50:05 UTC 2011


On Wed, 2011-02-16 at 02:28:36 +0000, Wen Heping wrote:

> wen         2011-02-16 02:28:36 UTC
> 
>   FreeBSD ports repository
> 
>   Modified files:
>     www/bozohttpd        Makefile distinfo 
>     www/bozohttpd/files  patch-bozohttpd.8 
>   Log:
>   - Update to 20100920
>   - Fix build with custom PREFIX

Would you consider a small change (attached) that makes the correct
substitution when LOCALBASE != PREFIX?  Thanks!

-- 
Sahil Tandon <sahil at FreeBSD.org>
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/www/bozohttpd/Makefile,v
retrieving revision 1.19
diff -u -r1.19 Makefile
--- Makefile	16 Feb 2011 02:28:36 -0000	1.19
+++ Makefile	16 Feb 2011 02:42:51 -0000
@@ -55,6 +55,6 @@
 PLIST_FILES=	libexec/bozohttpd
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|@@PREFIX@@|${LOCALBASE}|g' ${WRKSRC}/bozohttpd.8
+	@${REINPLACE_CMD} -e 's|@@PREFIX@@|${PREFIX}|g' ${WRKSRC}/bozohttpd.8
 
 .include <bsd.port.post.mk>


More information about the cvs-ports mailing list