pkgsrc/security/skey/buildlink3.mk
obache 6aac29cd7a 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.
2011-01-06 08:55:37 +00:00

24 lines
584 B
Makefile

# $NetBSD: buildlink3.mk,v 1.10 2011/01/06 08:55:37 obache Exp $
BUILDLINK_TREE+= skey
.if !defined(SKEY_BUILDLINK3_MK)
SKEY_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.skey+= skey>=1.1.5
BUILDLINK_ABI_DEPENDS.skey?= skey>=1.1.5nb2
BUILDLINK_PKGSRCDIR.skey?= ../../security/skey
BUILDLINK_DEPMETHOD.skey?= build
.include "../../mk/bsd.fast.prefs.mk"
# 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
BUILDLINK_TREE+= -skey