pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/skey Solaris's md4.h and sha1.h are not good ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/14df64ae076d
branches:  trunk
changeset: 553332:14df64ae076d
user:      obache <obache%pkgsrc.org@localhost>
date:      Mon Jan 19 12:00:03 2009 +0000

description:
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:

 security/skey/Makefile |  11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r f657d9b0f7b1 -r 14df64ae076d security/skey/Makefile
--- a/security/skey/Makefile    Mon Jan 19 10:28:44 2009 +0000
+++ b/security/skey/Makefile    Mon Jan 19 12:00:03 2009 +0000
@@ -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 @@
 
 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
 



Home | Main Index | Thread Index | Old Index