Mon Nov 29 12:41:51 2010 UTC ()
Honor PKG_SYSCONFDIR.


(ghen)
diff -r1.11 -r1.12 pkgsrc/net/unbound/Makefile

cvs diff -r1.11 -r1.12 pkgsrc/net/unbound/Makefile (expand / switch to unified diff)

--- pkgsrc/net/unbound/Makefile 2010/08/30 18:16:45 1.11
+++ pkgsrc/net/unbound/Makefile 2010/11/29 12:41:51 1.12
@@ -1,31 +1,33 @@ @@ -1,31 +1,33 @@
1# $NetBSD: Makefile,v 1.11 2010/08/30 18:16:45 pettai Exp $ 1# $NetBSD: Makefile,v 1.12 2010/11/29 12:41:51 ghen Exp $
2 2
3DISTNAME= unbound-1.4.6 3DISTNAME= unbound-1.4.6
 4PKGREVISION= 1
4CATEGORIES= net 5CATEGORIES= net
5MASTER_SITES= http://www.unbound.net/downloads/ 6MASTER_SITES= http://www.unbound.net/downloads/
6 7
7MAINTAINER= joerg@NetBSD.org 8MAINTAINER= joerg@NetBSD.org
8HOMEPAGE= http://www.unbound.net/ 9HOMEPAGE= http://www.unbound.net/
9COMMENT= DNS resolver and recursive server 10COMMENT= DNS resolver and recursive server
10 11
11PKG_DESTDIR_SUPPORT= user-destdir 12PKG_DESTDIR_SUPPORT= user-destdir
12 13
13GNU_CONFIGURE= yes 14GNU_CONFIGURE= yes
14USE_LIBTOOL= yes 15USE_LIBTOOL= yes
15USE_TOOLS+= gmake 16USE_TOOLS+= gmake
16 17
17CONFIGURE_ARGS+= --with-ldns=${BUILDLINK_PREFIX.ldns} 18CONFIGURE_ARGS+= --with-ldns=${BUILDLINK_PREFIX.ldns}
18CONFIGURE_ARGS+= --with-pidfile=${VARBASE}/run/unbound.pid 19CONFIGURE_ARGS+= --with-pidfile=${VARBASE}/run/unbound.pid
 20CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASE}
19 21
20SUBST_CLASSES+= paths 22SUBST_CLASSES+= paths
21SUBST_STAGE.paths= post-configure 23SUBST_STAGE.paths= post-configure
22SUBST_MESSAGE.paths= Fixing path names 24SUBST_MESSAGE.paths= Fixing path names
23SUBST_FILES.paths= doc/example.conf doc/*.5 doc/*.8 25SUBST_FILES.paths= doc/example.conf doc/*.5 doc/*.8
24SUBST_SED.paths= -e "s|/usr/local|${PREFIX}|" 26SUBST_SED.paths= -e "s|/usr/local|${PREFIX}|"
25 27
26INSTALL_MAKE_FLAGS+= \ 28INSTALL_MAKE_FLAGS+= \
27 configfile=${PREFIX}/share/examples/unbound/unbound.conf 29 configfile=${PREFIX}/share/examples/unbound/unbound.conf
28 30
29PKG_SYSCONFSUBDIR= unbound 31PKG_SYSCONFSUBDIR= unbound
30 32
31CONF_FILES+= share/examples/unbound/unbound.conf \ 33CONF_FILES+= share/examples/unbound/unbound.conf \