diff options
author | jlam <jlam@pkgsrc.org> | 2008-04-12 22:42:57 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-04-12 22:42:57 +0000 |
commit | 841dfa0e7aaa6a0f0cce2901291d1d938dd0fc0a (patch) | |
tree | fdd67c81079412bf94013749a954125434a9baca /mail/dkim-milter | |
parent | 6874584eae20f517f70816571f6d4ac696db16b3 (diff) | |
download | pkgsrc-841dfa0e7aaa6a0f0cce2901291d1d938dd0fc0a.tar.gz |
Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
Diffstat (limited to 'mail/dkim-milter')
-rw-r--r-- | mail/dkim-milter/PLIST | 6 | ||||
-rw-r--r-- | mail/dkim-milter/options.mk | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/mail/dkim-milter/PLIST b/mail/dkim-milter/PLIST index f7b49e9e50b..78449d05488 100644 --- a/mail/dkim-milter/PLIST +++ b/mail/dkim-milter/PLIST @@ -1,6 +1,6 @@ -@comment $NetBSD: PLIST,v 1.5 2008/04/06 12:59:11 adrianp Exp $ -${WITH_ARLIB}lib/libar.a -${WITH_ARLIB}man/man3/ar.3 +@comment $NetBSD: PLIST,v 1.6 2008/04/12 22:43:03 jlam Exp $ +${PLIST.arlib}lib/libar.a +${PLIST.arlib}man/man3/ar.3 lib/libdkim.a include/dkim.h libexec/dkim-filter diff --git a/mail/dkim-milter/options.mk b/mail/dkim-milter/options.mk index 61eb4199b99..84656a84b56 100644 --- a/mail/dkim-milter/options.mk +++ b/mail/dkim-milter/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.3 2008/03/09 14:02:08 adrianp Exp $ +# $NetBSD: options.mk,v 1.4 2008/04/12 22:43:03 jlam Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.dkim-milter PKG_SUPPORTED_OPTIONS= inet6 dkim-milter-arlib debug @@ -26,12 +26,12 @@ SUBST_SED.libs+= -e 's|@DEBUG@|dnl|g' ### ### Use asynchronous DNS resolver library shipping with dkim-milter. ### +PLIST_VARS+= arlib .if !empty(PKG_OPTIONS:Mdkim-milter-arlib) -PLIST_SUBST+= WITH_ARLIB='' +PLIST.arlib= yes SUBST_SED.libs+= -e 's|@RESOLVLIB@||g' SUBST_SED.libs+= -e 's|@ARLIB@||g' .else -PLIST_SUBST+= WITH_ARLIB='@comment ' SUBST_SED.libs+= -e 's|@RESOLVLIB@|resolv bind|g' SUBST_SED.libs+= -e 's|@ARLIB@|dnl|g' .endif |