summaryrefslogtreecommitdiff
path: root/package/pdnsd
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-08-01 20:09:09 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-08-01 20:09:09 +0200
commit9d8ce74086152a6431f92e95533a31a0cd6b2d23 (patch)
tree114dea73035cef5daa129fec4da31febf292dd66 /package/pdnsd
parentd797df53c90b50b326fb0f39a6928e207e1cbe1d (diff)
parent4fa46b6a63a479a7a216b519c329dbfe53b0ca39 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/pdnsd')
-rw-r--r--package/pdnsd/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/package/pdnsd/Makefile b/package/pdnsd/Makefile
index 045cb953d..a6f8041aa 100644
--- a/package/pdnsd/Makefile
+++ b/package/pdnsd/Makefile
@@ -13,6 +13,9 @@ PKG_DEPENDS:= libpthread
PKG_URL:= http://www.phys.uu.nl/~rombouts/pdnsd.html
PKG_SITES:= http://www.phys.uu.nl/~rombouts/pdnsd/releases/
+PKG_FLAVOURS:= WITH_IPV6
+PKGFD_WITH_IPV6:= enable IPv6 support
+
PKG_HOST_DEPENDS:= !netbsd
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}-par.tar.gz
@@ -23,6 +26,12 @@ $(eval $(call PKG_template,PDNSD,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG
CONFIGURE_ARGS+= --with-target=Linux
+ifneq (${ADK_PACKAGE_PDNSD_WITH_IPV6},)
+CONFIGURE_ARGS+= --enable-ipv6
+else
+CONFIGURE_ARGS+= --disable-ipv6
+endif
+
post-install:
$(INSTALL_DIR) $(IDIR_PDNSD)/etc
${INSTALL_DATA} ./files/pdnsd.conf ${IDIR_PDNSD}/etc/