use SYSCONFDIR/BASESYSCONFDIR to avoid "CONFIGURE_STYLE=gnu old" hack
This commit is contained in:
parent
5c54bb26a9
commit
c598d08ea3
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.23 2011/11/16 00:20:09 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.24 2012/01/17 17:22:56 sthen Exp $
|
||||
|
||||
COMMENT= multi-threaded routing daemon
|
||||
|
||||
DISTNAME= quagga-0.99.19
|
||||
REVISION= 1
|
||||
REVISION= 2
|
||||
SHARED_LIBS= ospf 0.0 \
|
||||
ospfapiclient 0.0 \
|
||||
zebra 0.0
|
||||
@ -21,23 +21,20 @@ PERMIT_DISTFILES_FTP= Yes
|
||||
WANTLIB= c curses m readline termcap
|
||||
|
||||
STATEDIR?= /var/quagga
|
||||
SUBST_VARS= CONFDIR STATEDIR
|
||||
SUBST_VARS= STATEDIR
|
||||
|
||||
BUILD_DEPENDS= lang/gawk
|
||||
USE_GMAKE= Yes
|
||||
USE_LIBTOOL= Yes
|
||||
CONFDIR= ${SYSCONFDIR}/quagga
|
||||
SYSCONFDIR= ${BASESYSCONFDIR}/quagga
|
||||
SEPARATE_BUILD= concurrent
|
||||
CONFIGURE_STYLE= gnu old
|
||||
CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ARGS+= --includedir=${LOCALBASE}/include/quagga \
|
||||
--sysconfdir=${CONFDIR} \
|
||||
--localstatedir=${STATEDIR} \
|
||||
--enable-user=_quagga \
|
||||
--enable-group=_quagga \
|
||||
--enable-vty-group=_quagga \
|
||||
--enable-vtysh \
|
||||
--mandir=${LOCALBASE}/man \
|
||||
--infodir=${LOCALBASE}/info
|
||||
--enable-vtysh
|
||||
.if ${MACHINE_ARCH:Mhppa} || ${MACHINE_ARCH:Marm}
|
||||
CONFIGURE_ARGS+= --disable-pie
|
||||
.endif
|
||||
|
@ -1,3 +1,3 @@
|
||||
Sample Quagga configuration files have been installed in
|
||||
${PREFIX}/share/examples/quagga. You will need to install your
|
||||
configuration files in the ${CONFDIR} directory.
|
||||
configuration files in the ${SYSCONFDIR} directory.
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.12 2011/09/27 09:45:53 sthen Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.13 2012/01/17 17:22:56 sthen Exp $
|
||||
@conflict zebra-*
|
||||
@newgroup _quagga:525
|
||||
@newuser _quagga:525:_quagga:daemon:Quagga Account:/nonexistent:/sbin/nologin
|
||||
@ -94,5 +94,5 @@ share/examples/quagga/vtysh.conf.sample
|
||||
share/examples/quagga/zebra.conf.sample
|
||||
@owner _quagga
|
||||
@group _quagga
|
||||
@sample ${SYSCONFDIR}/quagga/
|
||||
@sample ${SYSCONFDIR}/
|
||||
@sample ${STATEDIR}/
|
||||
|
Loading…
Reference in New Issue
Block a user