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 <[email protected]>
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>
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to