tech-pkg archive

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

Re: CVS commit: pkgsrc/mk/tools



On Fri, Apr 21, 2017 at 03:20:44PM +0000, maya%netbsd.org@localhost wrote:
 > > -.if empty(MACHINE_PLATFORM:MNetBSD-[^0-3].*-386) || \
 > > -	empty(MACHINE_PLATFORM:MNetBSD-[^0-3].*-x86_64)
 > > +.if !empty(MACHINE_PLATFORM:MNetBSD-[4-9].*-386) || \
 > > +	!empty(MACHINE_PLATFORM:MNetBSD-[4-9].*-x86_64)
 > >  TOOLS_PLATFORM.paxctl?=		/usr/sbin/paxctl
 > >  .endif
 > >  TOOLS_PLATFORM.printf?=		/usr/bin/printf
 > > 
 > 
 > Will something like
 > .if exists(/usr/sbin/paxctl)
 > TOOLS...
 > .endif
 > Work better?
 > At the very least, it shouldn't be limited to x86 platforms.

also, it should be -i386, not -386...

(unrelatedly, I think we should teach make pkgsrc-dewey before -10)

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index