diff options
author | wiz <wiz@pkgsrc.org> | 2009-05-03 11:28:41 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2009-05-03 11:28:41 +0000 |
commit | d8860d8080dd75d1fec326e11ac0af6e94305b73 (patch) | |
tree | 9ea5f5c5db1ec7cc690ebd5c3ec383a9c7df8fd3 /net/djbdns/options.mk | |
parent | bcb9ff5bc62f9faa1b6088b743e2bd3fb586fa4c (diff) | |
download | pkgsrc-d8860d8080dd75d1fec326e11ac0af6e94305b73.tar.gz |
Don't define two post-patch targets; instead, make them separate targets
and let post-patch depend on them.
Diffstat (limited to 'net/djbdns/options.mk')
-rw-r--r-- | net/djbdns/options.mk | 10 |
1 files changed, 7 insertions, 3 deletions
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 |