Subject: Re: PKGSRC_RUN_TEST: build vs. install
To: NetBSD Packages Technical Discussion List <tech-pkg@NetBSD.ORG>
From: Greg A. Woods <woods@weird.com>
List: tech-pkg
Date: 11/21/2002 18:28:37
[ On Thursday, November 21, 2002 at 18:24:21 (-0500), Greg A. Woods wrote: ]
> Subject: Re: PKGSRC_RUN_TEST: build vs. install
>
> Oi!  Double-Oops!  I meant to use make syntax -- I really did!  ;-)
> 
> (test test test test test test test test test test test test test test)

and if I make a change I'll test again!  ;-)

> ***************
> *** 1141,1147 ****
> --- 1269,1279 ----
>   .endif # OSVERSION_SPECIFIC
>   
>   .if !target(all)
> + .  if ${PKGSRC_RUN_TEST} == "YES" || ${PKGSRC_RUN_TEST} == "yes"
> + all: test
> + .  elif

that line above should of course be:

  + .  else

>   all: build
> + .  endif
>   .endif
>   
>   .if !defined(DEPENDS_TARGET)

-- 
								Greg A. Woods

+1 416 218-0098;            <g.a.woods@ieee.org>;           <woods@robohack.ca>
Planix, Inc. <woods@planix.com>; VE3TCP; Secrets of the Weird <woods@weird.com>