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 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
Home |
Main Index |
Thread Index |
Old Index