pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/djbdns Don't define two post-patch targets; instea...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e30df548efc2
branches:  trunk
changeset: 392580:e30df548efc2
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun May 03 11:28:41 2009 +0000

description:
Don't define two post-patch targets; instead, make them separate targets
and let post-patch depend on them.

diffstat:

 net/djbdns/options.mk |  10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 7ab87cdc1599 -r e30df548efc2 net/djbdns/options.mk
--- a/net/djbdns/options.mk     Sun May 03 07:48:29 2009 +0000
+++ b/net/djbdns/options.mk     Sun May 03 11:28:41 2009 +0000
@@ -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 @@
 
 .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



Home | Main Index | Thread Index | Old Index