diff options
author | jlam <jlam> | 2008-04-12 22:42:57 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-04-12 22:42:57 +0000 |
commit | 84db467ec7c8386066718011f8d47775d5608811 (patch) | |
tree | fdd67c81079412bf94013749a954125434a9baca /x11/rxvt-unicode/options.mk | |
parent | 7082f8c2044621c8641f3c82a2da95c2d442048c (diff) | |
download | pkgsrc-84db467ec7c8386066718011f8d47775d5608811.tar.gz |
Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
Diffstat (limited to 'x11/rxvt-unicode/options.mk')
-rw-r--r-- | x11/rxvt-unicode/options.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/x11/rxvt-unicode/options.mk b/x11/rxvt-unicode/options.mk index 0e308ba5da9..59a0b9577e3 100644 --- a/x11/rxvt-unicode/options.mk +++ b/x11/rxvt-unicode/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.5 2007/11/22 11:59:06 obache Exp $ +# $NetBSD: options.mk,v 1.6 2008/04/12 22:43:15 jlam Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.rxvt-unicode PKG_SUPPORTED_OPTIONS= perl unicode3 xft2 rxvt-term @@ -10,14 +10,14 @@ PKG_SUGGESTED_OPTIONS= perl unicode3 xft2 CONFIGURE_ARGS+= --with-term=rxvt .endif +PLIST_VARS+= perl .if !empty(PKG_OPTIONS:Mperl) CONFIGURE_ARGS+= --enable-perl -PLIST_SUBST+= PERL= +PLIST.perl= yes .include "../../lang/perl5/buildlink3.mk" USE_TOOLS+= perl .else CONFIGURE_ARGS+= --disable-perl -PLIST_SUBST+= PERL='@comment ' .endif # use 21 instead of 16 bits to represent unicode characters |