pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Dealing with compile options that need parameters
On Fri, 22 Jul 2022, nia wrote:
> On Thu, Jul 21, 2022 at 06:03:05PM +0200, Francisco J. Tsao Santn wrote:
> > PPP_PATH=/usr/sbin/pppd
>
> Unrelated nit, I suggest doing something like this:
>
> .if ${OPSYS} == "NetBSD" && exists(/usr/sbin/pppd)
> PPP_PATH?= /usr/sbin/pppd
> .else
> DEPENDS+= pppd-[0-9]*:../../net/pppd
> PPP_PATH?= ${PREFIX}/sbin/pppd
> .endif
Thanks, I finally removed that options, but I take note for the future
:-)
--
Francisco J. Tsao Santín
http://gattaca.es
1024D/71CF4D62 42 F1 53 35 EF 98 98 8A FC 6C 56 B3 4C A7 7D FB
Home |
Main Index |
Thread Index |
Old Index