Date: Tue, 1 May 2007 02:23:22 -0300 From: "Alejandro Pulver" <alepulver@FreeBSD.org> To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org> Subject: ports/112281: [PATCH] bsd.scons.mk: respect BUILD_WRKSRC and INSTALL_WRKSRC Message-ID: <1177997002.1351@deimos.mars.bsd> Resent-Message-ID: <200705010530.l415UA4m076838@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1177997002.1351>