From 171d2a4d21a6ce5d8dcbbb0779e0739d402ccace Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Tue, 25 Mar 2014 08:19:00 +0000 Subject: Support stage Use options helpers --- net/bird-devel/Makefile | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) (limited to 'net/bird-devel') diff --git a/net/bird-devel/Makefile b/net/bird-devel/Makefile index c57192d5bae8..24d62b62954a 100644 --- a/net/bird-devel/Makefile +++ b/net/bird-devel/Makefile @@ -12,8 +12,7 @@ COMMENT= Dynamic IP routing daemon (devel version) CONFLICTS= bird-[0-9]* -USES= bison -USE_GMAKE= yes +USES= bison gmake GNU_CONFIGURE= yes CONFIGURE_ARGS= --localstatedir=/var --enable-mpls USE_CSTD= gnu89 @@ -25,18 +24,9 @@ MAKE_JOBS_UNSAFE= yes USE_RC_SUBR= bird -NO_STAGE= yes -.include - -.if ${PORT_OPTIONS:MKMPLS} -CONFIGURE_ARGS+= --enable-kmpls -.endif +KMPLS_CONFIGURE_ON= --enable-kmpls post-install: - @if [ ! -f ${PREFIX}/etc/bird.conf ]; then \ - ${CP} -p ${PREFIX}/etc/bird.conf.example ${PREFIX}/etc/bird.conf ; \ - ${CHMOD} 0640 ${PREFIX}/etc/bird.conf ; \ - fi @${ECHO_MSG} @${ECHO_MSG} ===================================================================== @${ECHO_MSG} @@ -48,4 +38,4 @@ post-install: @${ECHO_MSG} ===================================================================== @${ECHO_MSG} -.include +.include -- cgit v1.2.3