-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Steve Franks wrote: > In maintaining devel/urjtag, I've added a dependancy to textproc/flex. > On some systems, however, I've found that when textproc/flex gets > installed, it lands in /usr/local/bin, as expected, but there's a > /usr/bin/flex which precedes it in the path - is there a canonical way > to resolve this? I've just been mv'ing my /usr/bin/flex, but clearly, > I can't add a patch to a port to do that to other people's systems...
Ah... I feel astonished that flex lives in textproc/ as bison lived in devel/... I think what you have to do is: BUILD_DEPENDS= ${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex and do a post-patch action of @${REINPLACE_CMD} -e 's, flex, ${LOCALBASE}/bin/flex,g' or similar where necessary... Cheers, - -- Xin LI <[EMAIL PROTECTED]> http://www.delphij.net/ FreeBSD - The Power to Serve! -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjr2FwACgkQi+vbBBjt66DZsgCfYR0gtZuLNMHiKA4DWz4FuRbb 0M0AmwbnyP6yAPW9YeU/CMWNS1uCx/Ds =WDK4 -----END PGP SIGNATURE----- _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[EMAIL PROTECTED]"