diff options
author | obache <obache@pkgsrc.org> | 2011-01-06 08:55:37 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2011-01-06 08:55:37 +0000 |
commit | b869988f9333dd9cb1ae34364035e13a740e969f (patch) | |
tree | ab4744abcf7ea6ba9b0b1f2c164cd97ae81a2bc2 /security/skey | |
parent | 32005bfd09ed6a730e6521b683d6f6e2993e2475 (diff) | |
download | pkgsrc-b869988f9333dd9cb1ae34364035e13a740e969f.tar.gz |
Fixes PR#44324.
* On DragonFly, rmd160.h exists and required functions are defined there,
but not in any library, so ignore it.
* On DragonFly and FreeBSD, MD5 and MD4 functions are in libmd.
Diffstat (limited to 'security/skey')
-rw-r--r-- | security/skey/Makefile | 9 | ||||
-rw-r--r-- | security/skey/buildlink3.mk | 5 |
2 files changed, 12 insertions, 2 deletions
diff --git a/security/skey/Makefile b/security/skey/Makefile index e53e2f35cf0..0604ce30f12 100644 --- a/security/skey/Makefile +++ b/security/skey/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2009/01/19 12:00:03 obache Exp $ +# $NetBSD: Makefile,v 1.24 2011/01/06 08:55:37 obache Exp $ # DISTNAME= skey-1.1.5 @@ -31,6 +31,13 @@ CONFIGURE_ENV+= ac_cv_header_md4_h=no CONFIGURE_ENV+= ac_cv_header_sha1_h=no BUILDLINK_TRANSFORM+= l:crypt:md5:crypt .endif +# PR#44324 +.if ${OPSYS} == "DragonFly" +CONFIGURE_ENV+= ac_cv_header_rmd160_h=no +.endif +.if ${OPSYS} == "DragonFly" || ${OPSYS} == "FreeBSD" +BUILDLINK_TRANSFORM+= l:crypt:md:crypt +.endif post-install: ${RANLIB} ${DESTDIR}${PREFIX}/lib/libskey.a diff --git a/security/skey/buildlink3.mk b/security/skey/buildlink3.mk index 9a5c12a4a19..f4d20bcf64b 100644 --- a/security/skey/buildlink3.mk +++ b/security/skey/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.9 2009/03/20 19:25:22 joerg Exp $ +# $NetBSD: buildlink3.mk,v 1.10 2011/01/06 08:55:37 obache Exp $ BUILDLINK_TREE+= skey @@ -15,6 +15,9 @@ BUILDLINK_DEPMETHOD.skey?= build # PR#40434 .if ${OPSYS} == "SunOS" BUILDLINK_TRANSFORM+= l:skey:skey:md5 +# PR#44324 +.elif ${OPSYS} == "DragonFly" || ${OPSYS} == "FreeBSD" +BUILDLINK_TRANSFORM+= l:skey:skey:md .endif .endif # SKEY_BUILDLINK3_MK |