don't allow NSD to pick up libevent from /usr/local if the libevent2
authorsthen <sthen@openbsd.org>
Thu, 15 Oct 2015 21:22:11 +0000 (21:22 +0000)
committersthen <sthen@openbsd.org>
Thu, 15 Oct 2015 21:22:11 +0000 (21:22 +0000)
package is installed.

usr.sbin/nsd/Makefile.bsd-wrapper

index e37034e..8257ade 100644 (file)
@@ -1,4 +1,4 @@
-#      $OpenBSD: Makefile.bsd-wrapper,v 1.11 2014/11/30 05:54:38 brad Exp $
+#      $OpenBSD: Makefile.bsd-wrapper,v 1.12 2015/10/15 21:22:11 sthen Exp $
 
 .include <bsd.own.mk>
 
@@ -20,6 +20,7 @@ CONFIGURE_OPTS=       --prefix=/usr \
                --with-dbfile=${CHROOTDIR}/db/nsd.db \
                --with-xfrdir=${CHROOTDIR}/run/xfr \
                --with-xfrdfile=${CHROOTDIR}/run/xfrd.state \
+               --with-libevent=/usr \
                --enable-ratelimit \
                --enable-root-server