Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Aug 2006 23:46:47 -0400 (EDT)
From:      Alexander Botero-Lowry <alex@foxybanana.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/101952: [PATCH] bsd.scons.mk: remove DESTDIR
Message-ID:  <200608130346.k7D3kl4H017240@Laptop.mine.box>
Resent-Message-ID: <200608130350.k7D3oHxa089161@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         101952
>Category:       ports
>Synopsis:       [PATCH] bsd.scons.mk: remove DESTDIR
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 13 03:50:16 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Botero-Lowry
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD Laptop.mine.box 6.1-STABLE FreeBSD 6.1-STABLE #1: Mon Jul 10 22:43:23 CDT 2006 root@Laptop.mine.box:/usr/src/sys/i386/compile/LAPTOP i386


>Description:
	- SCons does not directly support any kind of destdir, so don't try
	  passing it on the enviornment. Ports will have to implement destdir
	  support by patching the SConstruct themselves, or hoping upstream
	  implemented the support.

>How-To-Repeat:
>Fix:

	

--- remove_destdir.patch begins here ---
? remove_destdir.patch
Index: bsd.scons.mk
===================================================================
RCS file: /home/ncvs/ports/Mk/bsd.scons.mk,v
retrieving revision 1.6
diff -u -r1.6 bsd.scons.mk
--- bsd.scons.mk	4 Aug 2006 12:34:41 -0000	1.6
+++ bsd.scons.mk	13 Aug 2006 03:43:25 -0000
@@ -57,7 +57,7 @@
 SCONS_ENV?=	CCFLAGS="${CCFLAGS}" CXXFLAGS="${CXXFLAGS}" \
 		LINKFLAGS="${LINKFLAGS}" PKGCONFIGDIR="${PKGCONFIGDIR}"  \
 		CPPPATH="${CPPPATH}" LIBPATH="${LIBPATH}" PREFIX="${PREFIX}" \
-		DESTDIR="${DESTDIR}" CC="${CC}" CXX="${CXX}"
+		CC="${CC}" CXX="${CXX}"
 SCONS_ARGS?=
 SCONS_BUILDENV?=
 SCONS_TARGET?=
--- remove_destdir.patch ends here ---


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608130346.k7D3kl4H017240>