diff options
author | jperkin <jperkin> | 2013-12-10 14:13:44 +0000 |
---|---|---|
committer | jperkin <jperkin> | 2013-12-10 14:13:44 +0000 |
commit | d984590f8ac4188b033e4b8030f7dc136b61da02 (patch) | |
tree | d5ad45d6097315626cdc27a1a31b14caaef896be /security/validns | |
parent | de00ef8bdebb1476bb96e34482e8550d87e63d99 (diff) | |
download | pkgsrc-d984590f8ac4188b033e4b8030f7dc136b61da02.tar.gz |
Add socket libraries on SunOS. Patch from Sebastian Wiedenroth.
Diffstat (limited to 'security/validns')
-rw-r--r-- | security/validns/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/security/validns/Makefile b/security/validns/Makefile index c67d48911b1..7432da18ed1 100644 --- a/security/validns/Makefile +++ b/security/validns/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2013/06/15 16:51:29 pettai Exp $ +# $NetBSD: Makefile,v 1.8 2013/12/10 14:13:44 jperkin Exp $ # DISTNAME= validns-0.7 @@ -18,6 +18,11 @@ LICENSE= 2-clause-bsd INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 +.include "../../mk/bsd.prefs.mk" +.if ${OPSYS} == "SunOS" +MAKE_ENV+= EXTRALIBS="-lsocket -lnsl" +.endif + do-build: cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} |