summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authormanu <manu@pkgsrc.org>2004-11-09 22:40:32 +0000
committermanu <manu@pkgsrc.org>2004-11-09 22:40:32 +0000
commitc13f54b0e4b4e1c0261fdf84ea89d40bc23e2804 (patch)
tree4ac579c72212aa782bb44458aad33e28009e60e9 /net
parentffb96bd26c08876d978ae6afc7034730abcbc1ba (diff)
downloadpkgsrc-c13f54b0e4b4e1c0261fdf84ea89d40bc23e2804.tar.gz
Add buildlink to libradius
Diffstat (limited to 'net')
-rw-r--r--net/libradius/Makefile5
-rw-r--r--net/libradius/buildlink3.mk18
2 files changed, 21 insertions, 2 deletions
diff --git a/net/libradius/Makefile b/net/libradius/Makefile
index e317dd2b347..d7ca2e3a131 100644
--- a/net/libradius/Makefile
+++ b/net/libradius/Makefile
@@ -1,11 +1,12 @@
-# $NetBSD: Makefile,v 1.1.1.1 2004/10/20 22:45:30 manu Exp $
+# $NetBSD: Makefile,v 1.2 2004/11/09 22:40:32 manu Exp $
#
DISTNAME= libradius-linux-20040827
+PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= http://portal-to-web.de/tacacs/
-MAINTAINER= manu@netbsd.org
+MAINTAINER= manu@NetBSD.org
COMMENT= RADIUS client library
WRKSRC= ${WRKDIR}/libradius-linux
diff --git a/net/libradius/buildlink3.mk b/net/libradius/buildlink3.mk
new file mode 100644
index 00000000000..c09791ccaf1
--- /dev/null
+++ b/net/libradius/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/11/09 22:40:32 manu Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBRADIUS_LINUX_BUILDLINK3_MK:= ${LIBRADIUS_LINUX_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= libradius-linux
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibradius-linux}
+BUILDLINK_PACKAGES+= libradius-linux
+
+.if !empty(LIBRADIUS_LINUX_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.libradius-linux+= libradius-linux>=20040827
+BUILDLINK_PKGSRCDIR.libradius-linux?= ../../net/libradius
+.endif # LIBRADIUS_LINUX_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}