diff options
author | obache <obache@pkgsrc.org> | 2009-01-19 12:00:03 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2009-01-19 12:00:03 +0000 |
commit | 867afc2eb6e37377baf353e7b53d758fc13e32e9 (patch) | |
tree | 3c8d8cda10dcd8c21dad5dbd218c6e598e1d79e6 /security/skey | |
parent | e15a7ef63d592890e88ba21ab4eaf6097c8dd292 (diff) | |
download | pkgsrc-867afc2eb6e37377baf353e7b53d758fc13e32e9.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/Makefile | 11 |
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 |