From d8860d8080dd75d1fec326e11ac0af6e94305b73 Mon Sep 17 00:00:00 2001 From: wiz Date: Sun, 3 May 2009 11:28:41 +0000 Subject: Don't define two post-patch targets; instead, make them separate targets and let post-patch depend on them. --- net/djbdns/options.mk | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'net/djbdns/options.mk') diff --git a/net/djbdns/options.mk b/net/djbdns/options.mk index 4a95084313f..24624f32dd3 100644 --- a/net/djbdns/options.mk +++ b/net/djbdns/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.13 2009/05/02 19:13:34 hasso Exp $ +# $NetBSD: options.mk,v 1.14 2009/05/03 11:28:41 wiz Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.djbdns PKG_SUPPORTED_OPTIONS+= inet6 djbdns-cachestats djbdns-ignoreip2 @@ -49,12 +49,16 @@ SITES.${DNSCACHE_SOA_PATCH}= http://www.your.org/dnscache/ .if !empty(PKG_OPTIONS:Mdjbdns-qmerge2) USE_TOOLS+= patch -post-patch: +post-patch: patch-qmerge2 +.PHONY: patch-qmerge2 +patch-qmerge2: cd ${WRKSRC} && ${PATCH} ${PATCH_ARGS} < ${FILESDIR}/patch-qmerge2 .endif .if !empty(PKG_OPTIONS:Mdjbdns-tinydns64) USE_TOOLS+= patch -post-patch: +post-patch: patch-tinydns64 +.PHONY: patch-tinydns64 +patch-tinydns64: cd ${WRKSRC} && ${PATCH} ${PATCH_ARGS} < ${FILESDIR}/patch-tinydns64 .endif -- cgit v1.2.3