summaryrefslogtreecommitdiff
path: root/security/skey
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2012-02-08 09:05:33 +0000
committerobache <obache@pkgsrc.org>2012-02-08 09:05:33 +0000
commitd113b60dee26d91d5d6703d68d1e6b592945216b (patch)
tree2669b6c05811f754cc62a711adfda0b29498fe20 /security/skey
parent26fa764bddf6672154cacaced6cb7e1fdca8913b (diff)
downloadpkgsrc-d113b60dee26d91d5d6703d68d1e6b592945216b.tar.gz
setusercontext() is in -lutil for DragonFly, FreeBSD and NetBSD.
avoid to include own alternative one in libskey, or it cause some troubles on programs using setusercontext() and skey, and setusercontext() is only required for bundled skeyaudit(1). Bump PKGREVISION.
Diffstat (limited to 'security/skey')
-rw-r--r--security/skey/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/security/skey/Makefile b/security/skey/Makefile
index 0604ce30f12..1e1468bd5ce 100644
--- a/security/skey/Makefile
+++ b/security/skey/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.24 2011/01/06 08:55:37 obache Exp $
+# $NetBSD: Makefile,v 1.25 2012/02/08 09:05:33 obache Exp $
#
DISTNAME= skey-1.1.5
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= security
MASTER_SITES= http://www.sparc.spb.su/solaris/skey/
EXTRACT_SUFX= .tar.bz2
@@ -38,6 +38,10 @@ CONFIGURE_ENV+= ac_cv_header_rmd160_h=no
.if ${OPSYS} == "DragonFly" || ${OPSYS} == "FreeBSD"
BUILDLINK_TRANSFORM+= l:crypt:md:crypt
.endif
+# setusercontext() is in -lutil
+LIBS.DragonFly+= -lutil
+LIBS.FreeBSD+= -lutil
+LIBS.NetBSD+= -lutil
post-install:
${RANLIB} ${DESTDIR}${PREFIX}/lib/libskey.a