From efab697c63d275c149f9d9226efe7b9aed1966e8 Mon Sep 17 00:00:00 2001 From: Carlo Landmeter Date: Mon, 7 Jan 2013 12:42:34 +0100 Subject: main/nfs-utils: incorrect if statement --- main/nfs-utils/APKBUILD | 6 ++++-- 1 file 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 /d' \ - support/include/sockaddr.h || return 1 + if [ "$ALPINE_LIBC" != "eglibc" ]; then + sed -i -e '/^#include /d' \ + support/include/sockaddr.h || return 1 + fi # busybox install fix sed -i 's/--mode 755/-m755/g' \ tools/nfs-iostat/Makefile.am \ -- cgit v1.2.3