tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Testing NetBSD Versions

On Wed, 17 Dec 2008, Robert Elz wrote:
 | -.if !empty(MACHINE_PLATFORM:MNetBSD-4*)
 | +.if !empty(MACHINE_PLATFORM:MNetBSD-[4-9]*)
 |  USE_PKGSRC_GCC=3D   yes
 |  .endif

I guess something like

        .if !empty(MACHINE_PLATFORM:MNetBSD-[4-9]*) \
         || !empty(MACHINE_PLATFORM:MNetBSD-1[0-9]*)

will do. For the case at hand, I'd actually be more interested in fixing qemu to not require me to build an ancient gcc version...

As for the relational test, I don't know if make(1) supports that in some way in .if tests. Maybe something like platform==NetBSD && os-version>=4 ...

 - Hubert

Home | Main Index | Thread Index | Old Index