summaryrefslogtreecommitdiff
path: root/security/skey
diff options
context:
space:
mode:
authorobache <obache>2009-01-19 12:00:03 +0000
committerobache <obache>2009-01-19 12:00:03 +0000
commit4c2090bdc15da07e9a5444e9d842defbd40bc87f (patch)
tree3c8d8cda10dcd8c21dad5dbd218c6e598e1d79e6 /security/skey
parent1aeb7ef1a8166ea25a7f5b8184a808a5d47d5e1d (diff)
downloadpkgsrc-4c2090bdc15da07e9a5444e9d842defbd40bc87f.tar.gz
Solaris's md4.h and sha1.h are not good enough for this package,
and MD5_* is in libmd5. Fixes build failure reported by PR 40434.
Diffstat (limited to 'security/skey')
-rw-r--r--security/skey/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/security/skey/Makefile b/security/skey/Makefile
index 350740e664f..e53e2f35cf0 100644
--- a/security/skey/Makefile
+++ b/security/skey/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2008/12/13 13:58:31 obache Exp $
+# $NetBSD: Makefile,v 1.23 2009/01/19 12:00:03 obache Exp $
#
DISTNAME= skey-1.1.5
@@ -23,6 +23,15 @@ REPLACE_PERL= skeyprune.pl
INSTALLATION_DIRS= bin include lib ${PKGMANDIR}/man1 ${PKGMANDIR}/man8
+.include "../../mk/bsd.prefs.mk"
+
+# PR#40434
+.if ${OPSYS} == "SunOS"
+CONFIGURE_ENV+= ac_cv_header_md4_h=no
+CONFIGURE_ENV+= ac_cv_header_sha1_h=no
+BUILDLINK_TRANSFORM+= l:crypt:md5:crypt
+.endif
+
post-install:
${RANLIB} ${DESTDIR}${PREFIX}/lib/libskey.a