summaryrefslogtreecommitdiff
path: root/net/libradius
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2008-01-03 17:08:52 +0000
committerrillig <rillig@pkgsrc.org>2008-01-03 17:08:52 +0000
commit387f4ac7fb0e896380be67629ae9106148d55857 (patch)
treec5f2098fdf5a96597a354571b4d3a5b3d1cc690a /net/libradius
parent8f7e0f30ee0ec7c65018c3586812377a17dddfc7 (diff)
downloadpkgsrc-387f4ac7fb0e896380be67629ae9106148d55857.tar.gz
Fixed a pkglint warning, which revealed a naming conflict. Fixed that
too.
Diffstat (limited to 'net/libradius')
-rw-r--r--net/libradius/buildlink3.mk13
1 files changed, 6 insertions, 7 deletions
diff --git a/net/libradius/buildlink3.mk b/net/libradius/buildlink3.mk
index 50769db811b..bb809272c07 100644
--- a/net/libradius/buildlink3.mk
+++ b/net/libradius/buildlink3.mk
@@ -1,11 +1,9 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/12/12 21:52:37 joerg Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2008/01/03 17:08:52 rillig Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
-LIBRADIUS_LINUX_BUILDLINK3_MK:= ${LIBRADIUS_LINUX_BUILDLINK3_MK}+
+LIBRADIUS_BUILDLINK3_MK:= ${LIBRADIUS_BUILDLINK3_MK}+
-.include "../../mk/bsd.fast.prefs.mk"
-
-.if !empty(BUILDLINK_DEPTH:M+)
+.if ${BUILDLINK_DEPTH} == "+"
BUILDLINK_DEPENDS+= libradius
.endif
@@ -13,15 +11,16 @@ BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibradius}
BUILDLINK_PACKAGES+= libradius
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libradius
-.if !empty(LIBRADIUS_LINUX_BUILDLINK3_MK:M+)
+.if ${LIBRADIUS_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.libradius+= libradius>=20040827
BUILDLINK_PKGSRCDIR.libradius?= ../../net/libradius
BUILDLINK_DEPMETHOD.libradius?= build
+. include "../../mk/bsd.fast.prefs.mk"
. if ${OPSYS} == "FreeBSD"
BUILDLINK_LDADD.libradius+= -lmd
BUILDLINK_LDFLAGS.libradius?= ${BUILDLINK_LDADD.libradius}
. endif
-.endif # LIBRADIUS_LINUX_BUILDLINK3_MK
+.endif # LIBRADIUS_BUILDLINK3_MK
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}