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/3e0ab579a281
branches:  trunk
changeset: 558432:3e0ab579a281
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 a2b2955301b3 -r 3e0ab579a281 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