pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/libradius this package only installs a static libr...
details: https://anonhg.NetBSD.org/pkgsrc/rev/342f3e68a9b8
branches: trunk
changeset: 483365:342f3e68a9b8
user: grant <grant%pkgsrc.org@localhost>
date: Thu Nov 11 11:57:47 2004 +0000
description:
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:
net/libradius/buildlink3.mk | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (27 lines):
diff -r 1a49ede6afe9 -r 342f3e68a9b8 net/libradius/buildlink3.mk
--- a/net/libradius/buildlink3.mk Thu Nov 11 11:51:12 2004 +0000
+++ b/net/libradius/buildlink3.mk Thu Nov 11 11:57:47 2004 +0000
@@ -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_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/+$//}
Home |
Main Index |
Thread Index |
Old Index