From 09cf1a7a6902fbee84414231e335fe4c388ac648 Mon Sep 17 00:00:00 2001 From: dillo Date: Wed, 1 Jun 2005 13:40:46 +0000 Subject: test legacy var with `-' in option name --- regress/pkg-options/files/all.mk | 10 +++++----- regress/pkg-options/files/all.out | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'regress') 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 -- cgit v1.2.3