summaryrefslogtreecommitdiff
path: root/net/isc-dhcp4/buildlink3.mk
diff options
context:
space:
mode:
authoradrianp <adrianp>2008-02-13 22:03:58 +0000
committeradrianp <adrianp>2008-02-13 22:03:58 +0000
commit66406a6ed43e710b33944354c9c328a4ea6154fd (patch)
tree530f73d97d6a220ef98e6bf8702b4a0abd79db58 /net/isc-dhcp4/buildlink3.mk
parentcd99e86b90ca2b65a734bfa3cbcd161cb236d7b2 (diff)
downloadpkgsrc-66406a6ed43e710b33944354c9c328a4ea6154fd.tar.gz
ISC's Dynamic Host Configuration Protocol Distribution provides a
freely redistributable reference implementation of all aspects of DHCP, through a suite of DHCP tools: * A DHCP server * A DHCP client * A DHCP relay agent These tools all use a modular API which is designed to be sufficiently general that it can easily be made to work on POSIX-compliant operating systems and also non-POSIX systems like Windows NT and MacOS. The DHCP server, client and relay agent are provided both as reference implementations of the protocol and as working, fully-featured sample implementations. Both the client and the server provide functionality that, while not strictly required by the protocol, is very useful in practice. The DHCP server also makes allowances for non-compliant clients which one might still like to support. This package contains the Base component.
Diffstat (limited to 'net/isc-dhcp4/buildlink3.mk')
-rw-r--r--net/isc-dhcp4/buildlink3.mk19
1 files changed, 19 insertions, 0 deletions
diff --git a/net/isc-dhcp4/buildlink3.mk b/net/isc-dhcp4/buildlink3.mk
new file mode 100644
index 00000000000..76907e0c2c5
--- /dev/null
+++ b/net/isc-dhcp4/buildlink3.mk
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/02/13 22:03:58 adrianp Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+ISC_DHCP_BASE_BUILDLINK3_MK:= ${ISC_DHCP_BASE_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= isc-dhcp-base
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nisc-dhcp-base}
+BUILDLINK_PACKAGES+= isc-dhcp-base
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}isc-dhcp-base
+
+.if ${ISC_DHCP_BASE_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.isc-dhcp-base+= isc-dhcp-base>=4.0.0
+BUILDLINK_PKGSRCDIR.isc-dhcp-base?= ../../net/isc-dhcp4
+.endif # ISC_DHCP_BASE_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}