ports/112281: [PATCH] bsd.scons.mk: respect BUILD_WRKSRC and INSTALL_WRKSRC

Alejandro Pulver alepulver at FreeBSD.org
Tue May 1 05:30:11 UTC 2007


>Number:         112281
>Category:       ports
>Synopsis:       [PATCH] bsd.scons.mk: respect BUILD_WRKSRC and INSTALL_WRKSRC
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 01 05:30:10 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Alejandro Pulver
>Release:        FreeBSD 6.2-RELEASE i386
>Organization:
>Environment:


System: FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007
    root at dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP



>Description:


- Respect BUILD_WRKSRC and INSTALL_WRKSRC as bsd.port.mk does.


>How-To-Repeat:





>Fix:


--- bsd.scons.mk.diff begins here ---
Index: ports/Mk/bsd.scons.mk
===================================================================
RCS file: /home/pcvs/ports/Mk/bsd.scons.mk,v
retrieving revision 1.8
diff -u -r1.8 bsd.scons.mk
--- ports/Mk/bsd.scons.mk	15 Sep 2006 08:06:12 -0000	1.8
+++ ports/Mk/bsd.scons.mk	27 Apr 2007 16:07:18 -0000
@@ -75,14 +75,14 @@
 
 .if !target(do-build)
 do-build:
-	@cd ${WRKSRC} && \
+	@cd ${BUILD_WRKSRC} && \
 	${SETENV} ${SCONS_BUILDENV} ${SCONS_BIN} ${SCONS_ENV} ${SCONS_ARGS} \
 	${SCONS_TARGET}
 .endif
 
 .if !target(do-install)
 do-install:
-	@cd ${WRKSRC} && ${SETENV} ${SCONS_BUILDENV} ${SCONS_BIN} ${SCONS_ENV} \
-	${SCONS_ARGS} ${SCONS_INSTALL_TARGET}
+	@cd ${INSTALL_WRKSRC} && ${SETENV} ${SCONS_BUILDENV} ${SCONS_BIN} \
+	${SCONS_ENV} ${SCONS_ARGS} ${SCONS_INSTALL_TARGET}
 .endif
 
--- bsd.scons.mk.diff ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list