Date: Thu, 24 Dec 1998 09:51:47 -0800 From: "David O'Brien" <obrien@NUXI.com> To: ports@FreeBSD.ORG Subject: Why does !exists() not work Message-ID: <19981224095147.A18144@dragon.nuxi.com>
next in thread | raw e-mail | index | archive | help
Why doesn't this work: .if !exists(${DISTDIR}/vp-bro-0.4-alpha${EXTRACT_SUFX}) IGNORE='Please contact Vern Paxson <vern@ee.lbl.gov> to obtain the obtain the Bro source. Put it in ${DISTDIR} as vp-bro-0.4-alpha${EXTRACT_SUFX} and run make again' .endif Reguardless of the existance (as tested by `ls(1)') the IGNORE is always active. What I want is a way to not "exit 1" when the distfile is missing to allow unattended ``cd /usr/ports ; make fetch''. I've also tried redefining the "do-*" targets to turn them into NOPs, but that didn't work either. Probably do to why ever the above doesn't work. -- -- David (obrien@NUXI.com -or- obrien@FreeBSD.org) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981224095147.A18144>