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 | fd423146dcebe937f45f47c76c81ce1526023f95 (patch) | |
tree | 207b7cd68218fc043be9c6ea93b3f9bf94724b1d /net/balance | |
parent | ba1f3472f468c05f27e708ffd34daa2e25544182 (diff) | |
download | pkgsrc-fd423146dcebe937f45f47c76c81ce1526023f95.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 |