mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Push PACKAGE_BUILDING and MALLOC_OPTIONS up a level.
Feature safe: yes
This commit is contained in:
parent
aadc9bb5d1
commit
2c4d0a67a8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=257214
1 changed files with 2 additions and 4 deletions
|
@ -44,6 +44,7 @@ add_pkg() {
|
|||
|
||||
echo add_pkg $pkgs
|
||||
cd /tmp/depends
|
||||
# XXX TODO more hard-coding
|
||||
export PKG_PATH=/tmp/depends
|
||||
if [ ! -z "${pkgs}" ]; then
|
||||
arch=$(uname -m)
|
||||
|
@ -68,6 +69,7 @@ del_pkg() {
|
|||
pkgs=$*
|
||||
|
||||
cd /tmp/depends
|
||||
# XXX TODO more hard-coding
|
||||
export PKG_PATH=/tmp/depends
|
||||
if [ ! -z "${pkgs}" ]; then
|
||||
recursion=1
|
||||
|
@ -117,7 +119,6 @@ RD=$7
|
|||
|
||||
#export PATH=/ccache/libexec/ccache/:$PATH
|
||||
#export CCACHE_PATH=/usr/bin:/usr/local/bin
|
||||
export MALLOC_OPTIONS=AJ
|
||||
|
||||
# pick up value from environment set up in portbuild script
|
||||
L=`echo ${LOCALBASE} | sed 's,^/,,'`
|
||||
|
@ -154,9 +155,6 @@ if [ $phase = 1 ]; then
|
|||
|
||||
echo "prefixes: LOCALBASE=${L}"
|
||||
|
||||
# Inform ports they are being run on the cluster
|
||||
export PACKAGE_BUILDING=1
|
||||
|
||||
# Stash a copy of /etc/master.passwd and /etc/group to detect whether someone modifies it
|
||||
cp /etc/master.passwd /etc/master.passwd-save
|
||||
cp /etc/group /etc/group-save
|
||||
|
|
Loading…
Add table
Reference in a new issue