summaryrefslogtreecommitdiff
path: root/net/djbdns/options.mk
diff options
context:
space:
mode:
authorschmonz <schmonz>2005-03-30 10:00:36 +0000
committerschmonz <schmonz>2005-03-30 10:00:36 +0000
commitd14ac873b9e3087ff91acf2099bef3e9a1c519a6 (patch)
tree3d62de719d06b56b2c493c9e62be96ac0382183b /net/djbdns/options.mk
parent422541461efafe62b8d7d756a2a8ef539c053c04 (diff)
downloadpkgsrc-d14ac873b9e3087ff91acf2099bef3e9a1c519a6.tar.gz
Bernhard Roth published his 64-bit tinydns-data fix. Pull it in as
an external patch file via the "tinydns64" option (enabled by default on sparc64, alpha, and amd64). Binary package should behave identically, so no PKGREVISION bump.
Diffstat (limited to 'net/djbdns/options.mk')
-rw-r--r--net/djbdns/options.mk19
1 files changed, 17 insertions, 2 deletions
diff --git a/net/djbdns/options.mk b/net/djbdns/options.mk
index daf29e7955b..343c1175d09 100644
--- a/net/djbdns/options.mk
+++ b/net/djbdns/options.mk
@@ -1,7 +1,13 @@
-# $NetBSD: options.mk,v 1.2 2004/11/17 19:56:49 xtraeme Exp $
+# $NetBSD: options.mk,v 1.3 2005/03/30 10:00:36 schmonz Exp $
+
+.if ${MACHINE_ARCH} == "sparc64" || \
+ ${MACHINE_ARCH} == "alpha" || \
+ ${MACHINE_ARCH} == "amd64"
+PKG_DEFAULT_OPTIONS+= tinydns64
+.endif
PKG_OPTIONS_VAR= PKG_OPTIONS.djbdns
-PKG_SUPPORTED_OPTIONS= inet6 ignoreip2
+PKG_SUPPORTED_OPTIONS= inet6 ignoreip2 tinydns64
.include "../../mk/bsd.options.mk"
###
@@ -23,3 +29,12 @@ IGNOREIP2_PATCH= djbdns-1.05-ignoreip2.patch
PATCHFILES+= ${IGNOREIP2_PATCH}
SITES_${IGNOREIP2_PATCH}= http://www.tinydns.org/
.endif
+
+###
+### Bernhard Roth's patch to fix tinydns-data on 64-bit platforms
+###
+.if !empty(PKG_OPTIONS:Mtinydns64)
+TINYDNS64_PATCH= tinydns64.diff
+PATCHFILES+= ${TINYDNS64_PATCH}
+SITES_${TINYDNS64_PATCH}= http://www.pwrlock.de/br/
+.endif