diff options
author | dillo <dillo@pkgsrc.org> | 2005-06-01 13:40:46 +0000 |
---|---|---|
committer | dillo <dillo@pkgsrc.org> | 2005-06-01 13:40:46 +0000 |
commit | 69fea00b5b9c4e2a5202723ef4ff05d25370d1c4 (patch) | |
tree | 02c04cfc7ec79b03e71de031d3f994c7ccad8320 | |
parent | b05a7934938fc6bcbea0e063d4edb009f286a502 (diff) | |
download | pkgsrc-69fea00b5b9c4e2a5202723ef4ff05d25370d1c4.tar.gz |
test legacy var with `-' in option name
-rw-r--r-- | regress/pkg-options/files/all.mk | 10 | ||||
-rw-r--r-- | regress/pkg-options/files/all.out | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/regress/pkg-options/files/all.mk b/regress/pkg-options/files/all.mk index 952ffbdc818..b344df2d835 100644 --- a/regress/pkg-options/files/all.mk +++ b/regress/pkg-options/files/all.mk @@ -1,4 +1,4 @@ -# $NetBSD: all.mk,v 1.2 2005/05/31 13:33:39 dillo Exp $ +# $NetBSD: all.mk,v 1.3 2005/06/01 13:40:46 dillo Exp $ # # This file tests legacy variables and precedence of the various # option variables. @@ -6,15 +6,15 @@ MAKECONF= /dev/null -PKG_OPTIONS_LEGACY_VARS+=USE_F:f +PKG_OPTIONS_LEGACY_VARS+=USE_F:f-1 PKG_OPTIONS_LEGACY_VARS+=USE_G:g PKG_OPTIONS_LEGACY_VARS+=NO_H:-h PKG_OPTIONS_VAR= PKG_OPTIONS.foo -PKG_SUPPORTED_OPTIONS= a b c d e f g h -PKG_SUGGESTED_OPTIONS= b c e h +PKG_SUPPORTED_OPTIONS= a b c d e f-1 g h +PKG_SUGGESTED_OPTIONS= b c e h PKG_DEFAULT_OPTIONS= a -b d -PKG_OPTIONS.foo= -c -d f -g +PKG_OPTIONS.foo= -c -d -g USE_F=YES USE_G=YES NO_H=YES diff --git a/regress/pkg-options/files/all.out b/regress/pkg-options/files/all.out index cd0f28555d0..0017feb1e5c 100644 --- a/regress/pkg-options/files/all.out +++ b/regress/pkg-options/files/all.out @@ -1 +1 @@ -a e f +a e f-1 |