aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-03-12 12:42:19 -0500
committerB. Watson <yalhcru@gmail.com>2022-03-12 12:42:19 -0500
commitada647d46c382633242f30f6931013c63647c03c (patch)
tree3d5c3fe2df115d7ef7f93c4fc6cada379ba7abf1 /system
parentf62b40474f8862aa527bce93750ad49e7befd3ad (diff)
system/opendoas: Handle environment BUILD better.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'system')
-rw-r--r--system/opendoas/opendoas.SlackBuild7
1 files changed, 1 insertions, 6 deletions
diff --git a/system/opendoas/opendoas.SlackBuild b/system/opendoas/opendoas.SlackBuild
index 6d50bf541c1c..7c5dd153c99c 100644
--- a/system/opendoas/opendoas.SlackBuild
+++ b/system/opendoas/opendoas.SlackBuild
@@ -100,10 +100,7 @@ fi
# Passing BUILD from the command line otherwise causes the build to fail (the
# configure script uses the variable name).
-SBBUILD=$BUILD
-unset BUILD
-
-./configure \
+env -u BUILD ./configure \
--prefix=/usr \
$SHADOW \
$TIMESTAMP \
@@ -117,8 +114,6 @@ make install DESTDIR=$PKG
strip $PKG/usr/bin/*
gzip -9 $PKG/usr/man/man*/*
-BUILD=$SBBUILD
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
LICENSE README.md \