diff options
author | grant <grant@pkgsrc.org> | 2004-11-11 11:57:47 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2004-11-11 11:57:47 +0000 |
commit | 3015a8811b4d96aa4511ba76d539abb6c2b347f5 (patch) | |
tree | c51359a9b98a7b0f2188f88bcc8d40f54b578e08 /net | |
parent | 24ba9705518cfe138723853b51789341f453bc9d (diff) | |
download | pkgsrc-3015a8811b4d96aa4511ba76d539abb6c2b347f5.tar.gz |
this package only installs a static library, so tell other packages
to add -lmd on FreeBSD for the MD5 functions.
XXX this package should probably install a shared library, too
Diffstat (limited to 'net')
-rw-r--r-- | net/libradius/buildlink3.mk | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/net/libradius/buildlink3.mk b/net/libradius/buildlink3.mk index ac6c9bcd698..cf11fce7f03 100644 --- a/net/libradius/buildlink3.mk +++ b/net/libradius/buildlink3.mk @@ -1,8 +1,10 @@ -# $NetBSD: buildlink3.mk,v 1.3 2004/11/10 09:10:46 xtraeme Exp $ +# $NetBSD: buildlink3.mk,v 1.4 2004/11/11 11:57:47 grant Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ LIBRADIUS_LINUX_BUILDLINK3_MK:= ${LIBRADIUS_LINUX_BUILDLINK3_MK}+ +.include "../../mk/bsd.prefs.mk" + .if !empty(BUILDLINK_DEPTH:M+) BUILDLINK_DEPENDS+= libradius .endif @@ -14,6 +16,11 @@ BUILDLINK_PACKAGES+= libradius BUILDLINK_DEPENDS.libradius+= libradius>=20040827 BUILDLINK_PKGSRCDIR.libradius?= ../../net/libradius BUILDLINK_DEPMETHOD.libradius?= build + +. if ${OPSYS} == "FreeBSD" +BUILDLINK_LDADD.libradius+= -lmd +BUILDLINK_LDFLAGS.libradius?= ${BUILDLINK_LDADD.libradius} +. endif .endif # LIBRADIUS_LINUX_BUILDLINK3_MK BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |