summaryrefslogtreecommitdiff
path: root/security/prngd
diff options
context:
space:
mode:
authorrodent <rodent>2013-08-03 14:44:28 +0000
committerrodent <rodent>2013-08-03 14:44:28 +0000
commit00b64a4d61a29a26238014ace8b917c7687f24db (patch)
tree8a88688b9dfaa6672aeaa22845958c3bab950a0a /security/prngd
parent429e2501f5984ddde67a46606bae8cbcae3b4c5b (diff)
downloadpkgsrc-00b64a4d61a29a26238014ace8b917c7687f24db.tar.gz
Fix build on SunOS (LDFLAGS.SunOS+= -lsocket -lnsl).
Diffstat (limited to 'security/prngd')
-rw-r--r--security/prngd/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/security/prngd/Makefile b/security/prngd/Makefile
index f22598e9c92..cc2e2db4475 100644
--- a/security/prngd/Makefile
+++ b/security/prngd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2013/07/06 01:24:14 rodent Exp $
+# $NetBSD: Makefile,v 1.15 2013/08/03 14:44:28 rodent Exp $
DISTNAME= prngd-0.9.29
CATEGORIES= security
@@ -22,6 +22,8 @@ SUBST_FILES.path= prngd.man
SUBST_SED.path= -e 's,/usr/local,${PREFIX},g'
SUBST_SED.path+= -e 's,/var,${VARBASE},g'
+LDFLAGS.SunOS+= -lsocket -lnsl
+
do-build:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE}