ports/163099: devel/cvsweb: Fix detection of cgidir
Chris Rees
crees at FreeBSD.org
Tue Dec 6 20:20:11 UTC 2011
>Number: 163099
>Category: ports
>Synopsis: devel/cvsweb: Fix detection of cgidir
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Dec 06 20:20:10 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Chris Rees
>Release: FreeBSD 8.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD freefall.freebsd.org 8.2-STABLE FreeBSD 8.2-STABLE #5 r227907: Wed Nov 23 21:55:50 UTC 2011 simon at freefall.freebsd.org:/usr/obj/usr/src/sys/FREEFALL i386
>Description:
The cvsweb Makefile doesn't actually know what PREFIX is before bsd.port.pre.mk is, so the .if exists statements always fall through to the default case (share/apache/cgi-bin in cvsweb3 and www/cgi-bin in cvsweb).
>How-To-Repeat:
>Fix:
--- cvsweb3-fix-find-location.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/cvsweb3/Makefile,v
retrieving revision 1.87
diff -u -r1.87 Makefile
--- Makefile 28 Mar 2010 06:33:00 -0000 1.87
+++ Makefile 6 Dec 2011 20:10:53 -0000
@@ -37,6 +37,8 @@
NO_BUILD= yes
USE_PERL5= yes
+.include <bsd.port.pre.mk>
+
# Specify where your repository belongs.
# (You can reconfigure it after installation anyway)
.if defined(PACKAGE_BUILDING) || !defined(CVSROOT) || empty(CVSROOT)
@@ -115,4 +117,4 @@
.endif
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/cvsweb/Makefile,v
retrieving revision 1.78
diff -u -r1.78 Makefile
--- Makefile 23 Jan 2006 07:04:09 -0000 1.78
+++ Makefile 6 Dec 2011 20:11:40 -0000
@@ -23,6 +23,8 @@
NO_BUILD= yes
USE_PERL5= yes
+.include <bsd.port.pre.mk>
+
# Specify where your repository belongs.
# (You can reconfigure it after installation anyway)
.if defined(PACKAGE_BUILDING) || !defined(CVSROOT) || empty(CVSROOT)
@@ -85,4 +87,4 @@
.endif
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
--- cvsweb3-fix-find-location.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list