aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2013-01-07 12:42:34 +0100
committerCarlo Landmeter <clandmeter@gmail.com>2013-01-07 12:42:34 +0100
commitefab697c63d275c149f9d9226efe7b9aed1966e8 (patch)
treec226f33391f27a57100f5b8ccc142a6ed9c3f9d4
parent5f072c16760f84bc5b30d0725236608d69e51678 (diff)
downloadaports-efab697c63d275c149f9d9226efe7b9aed1966e8.tar.bz2
aports-efab697c63d275c149f9d9226efe7b9aed1966e8.tar.xz
main/nfs-utils: incorrect if statement
-rw-r--r--main/nfs-utils/APKBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/main/nfs-utils/APKBUILD b/main/nfs-utils/APKBUILD
index 62add782da..03ef309fa0 100644
--- a/main/nfs-utils/APKBUILD
+++ b/main/nfs-utils/APKBUILD
@@ -35,8 +35,10 @@ prepare() {
patch -p0 -i "${i}" || return 1
done
# fix build on eglibc
- sed -i -e '/^#include <libio.h>/d' \
- support/include/sockaddr.h || return 1
+ if [ "$ALPINE_LIBC" != "eglibc" ]; then
+ sed -i -e '/^#include <libio.h>/d' \
+ support/include/sockaddr.h || return 1
+ fi
# busybox install fix
sed -i 's/--mode 755/-m755/g' \
tools/nfs-iostat/Makefile.am \