aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-08-14 13:38:03 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-08-14 13:40:08 +0000
commitce3acaf63096bf52f7f772a94f8abf6d1d0771c6 (patch)
tree6a775f5c5852e5bff8545a0a6c951fcf153c73ab /testing
parent13ba2874e59791deb26fa084af36df2c1d83edbc (diff)
downloadaports-ce3acaf63096bf52f7f772a94f8abf6d1d0771c6.tar.bz2
aports-ce3acaf63096bf52f7f772a94f8abf6d1d0771c6.tar.xz
testing/s-nail: cleanup
- respect global CFLAGS - remove globally set environment variables. They don't seem to be needed and if they are, then it should be fixed differently-
Diffstat (limited to 'testing')
-rw-r--r--testing/s-nail/APKBUILD10
1 files changed, 1 insertions, 9 deletions
diff --git a/testing/s-nail/APKBUILD b/testing/s-nail/APKBUILD
index e43d1cb28b..c8ad32ea15 100644
--- a/testing/s-nail/APKBUILD
+++ b/testing/s-nail/APKBUILD
@@ -15,18 +15,10 @@ subpackages="$pkgname-doc"
source="https://ftp.sdaoden.eu/s-nail-$pkgver.tar.xz"
builddir="$srcdir/"$pkgname-$pkgver
-# LD_LIBRARY_PATH is included via -rpath, so use system defaults only.
-# And ensure no other paths sneak in.
-unset LIBRARY_PATH LD_RUN_PATH
-PATH=/sbin:/usr/sbin:/bin:/usr/bin
-C_INCLUDE_PATH=/usr/include
-LD_LIBRARY_PATH=/lib:/usr/lib
-export PATH C_INCLUDE_PATH LD_LIBRARY_PATH
-
build() {
cd "$builddir"
make \
- EXTRA_CFLAGS=-Os \
+ EXTRA_CFLAGS="$CFLAGS" \
\
VAL_SID= VAL_MAILX=mail \
VAL_PREFIX=/usr \