diff options
author | fhajny <fhajny@pkgsrc.org> | 2013-10-21 09:01:20 +0000 |
---|---|---|
committer | fhajny <fhajny@pkgsrc.org> | 2013-10-21 09:01:20 +0000 |
commit | 6c36bb8f6de2ba966eff049e90d4094b0b9002d5 (patch) | |
tree | 207b7cd68218fc043be9c6ea93b3f9bf94724b1d /net/balance | |
parent | 9e61295f393e882fa60e7279bda3bf31ec9e80b6 (diff) | |
download | pkgsrc-6c36bb8f6de2ba966eff049e90d4094b0b9002d5.tar.gz |
Fix build on SunOS
Diffstat (limited to 'net/balance')
-rw-r--r-- | net/balance/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/net/balance/Makefile b/net/balance/Makefile index 8886da51aca..b9712b78c3e 100644 --- a/net/balance/Makefile +++ b/net/balance/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2013/06/16 08:09:11 ryoon Exp $ +# $NetBSD: Makefile,v 1.7 2013/10/21 09:01:20 fhajny Exp $ # DISTNAME= balance-3.54 @@ -13,6 +13,11 @@ LICENSE= gnu-gpl-v2 BUILD_DEFS+= VARBASE MAKE_ENV+= VARBASE=${VARBASE} +.include "../../mk/bsd.prefs.mk" +.if ${OPSYS} == "SunOS" +MAKE_ENV+= LIBRARIES="-lsocket -lnsl" +.endif + OWN_DIRS_PERMS= ${VARBASE}/run/balance \ ${ROOT_USER} ${ROOT_GROUP} 0750 |