ports/62247: bsd.port.mk WRKDIRPREFIX breakage
Ade Lovett
ade at FreeBSD.org
Mon Feb 2 04:40:20 UTC 2004
>Number: 62247
>Category: ports
>Synopsis: bsd.port.mk WRKDIRPREFIX breakage
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Feb 01 20:40:16 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: Ade Lovett
>Release: FreeBSD 4.9-STABLE i386
>Organization:
>Environment:
System environment irrelevant, affects 4.x and 5.x
>Description:
with WRKDIRPREFIX set, there are still a couple of areas where invocations
of make(1) within bsd.port.mk fail due to assumptions being made about
the current directory.
>How-To-Repeat:
set WRKDIRPREFIX, build a few ports, watch *carefully* for errors just
after install.
>Fix:
http://people.FreeBSD.org/~ade/bsd.port.mk_fix-make.patch
Index: bsd.port.mk
===================================================================
RCS file: /home/FreeBSD/cvs/ports/Mk/bsd.port.mk,v
retrieving revision 1.481
diff -u -1 -r1.481 bsd.port.mk
--- bsd.port.mk 23 Jan 2004 16:22:26 -0000 1.481
+++ bsd.port.mk 23 Jan 2004 22:28:20 -0000
@@ -3537,3 +3537,4 @@
then \
- if [ ! -z "`make www-site`" ]; then \
+ www_site=$$(cd ${.CURDIR} && ${MAKE} ${__softMAKEFLAGS} www-site); \
+ if [ ! -z "$${www_site}" ]; then \
${ECHO_MSG}; \
@@ -3541,3 +3542,3 @@
${ECHO_MSG} " status of this software, see the following webpage: "; \
- ${MAKE} www-site; \
+ ${ECHO_MSG} "$${www_site}"; \
fi; \
@@ -3631,3 +3632,4 @@
${ECHO_MSG} " to deinstall the port if this is a concern."; \
- if [ ! -z "`make www-site`" ]; then \
+ www_site=$$(cd ${.CURDIR} && ${MAKE} ${__softMAKEFLAGS} www-site); \
+ if [ ! -z "$${www_site}" ]; then \
${ECHO_MSG}; \
@@ -3635,3 +3637,3 @@
${ECHO_MSG} " status of this software, see the following webpage: "; \
- ${MAKE} www-site; \
+ ${ECHO_MSG} "$${www_site}"; \
fi; \
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list