diff options
Diffstat (limited to 'net/rancid/Makefile')
-rw-r--r-- | net/rancid/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/net/rancid/Makefile b/net/rancid/Makefile index 79c3903b223..24198ae0f08 100644 --- a/net/rancid/Makefile +++ b/net/rancid/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2010/03/12 23:39:16 pettai Exp $ +# $NetBSD: Makefile,v 1.1.1.1.4.1 2010/07/04 07:23:34 agc Exp $ # DISTNAME= rancid-2.3.2 @@ -60,6 +60,12 @@ INSTALLATION_DIRS= share/examples/rancid INSTALLATION_DIRS+= share/doc/rancid INSTALLATION_DIRS+= ${VARBASE}/rancid +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "NetBSD" && exists(/sbin/ping) +CONFIGURE_ARGS+= ac_cv_PING_PATH=/sbin/ping +.endif + post-install: ${INSTALL_DATA} ${WRKSRC}/etc/lg.conf.sample ${DESTDIR}${EGDIR} ${INSTALL_DATA} ${WRKSRC}/etc/rancid.conf.sample ${DESTDIR}${EGDIR} |