Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Mar 2017 19:51:33 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r436630 - head/net-mgmt/pmacct
Message-ID:  <201703211951.v2LJpXFE086103@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Tue Mar 21 19:51:33 2017
New Revision: 436630
URL: https://svnweb.freebsd.org/changeset/ports/436630

Log:
  net-mgmt/pmacct: provide plabel configure flags if option is selected

Modified:
  head/net-mgmt/pmacct/Makefile

Modified: head/net-mgmt/pmacct/Makefile
==============================================================================
--- head/net-mgmt/pmacct/Makefile	Tue Mar 21 19:44:42 2017	(r436629)
+++ head/net-mgmt/pmacct/Makefile	Tue Mar 21 19:51:33 2017	(r436630)
@@ -83,6 +83,12 @@ CONFIGURE_ARGS+=--enable-ipv6
 CONFIGURE_ARGS+=--disable-ipv6
 .endif
 
+.if ${PORT_OPTIONS:MPLABEL}
+CONFIGURE_ARGS+=--enable-plabel
+.else
+CONFIGURE_ARGS+=--disable-plabel
+.endif
+
 .if ${PORT_OPTIONS:MTHREADS}
 CONFIGURE_ARGS+=--enable-threads
 .else
@@ -93,9 +99,11 @@ CONFIGURE_ARGS+=--disable-threads
 CONFIGURE_ARGS+=--enable-debug
 .endif
 
-#.if ${PORT_OPTIONS:MMONGO}
+.if ${PORT_OPTIONS:MMONGO}
 #CONFIGURE_ARGS+=--enable-mongodb
-#.endif
+.else
+CONFIGURE_ARGS+=--disable-mongodb
+.endif
 
 .if ${PORT_OPTIONS:MRABBITMQ}
 .if ${PORT_OPTIONS:MJANSSON}
@@ -127,13 +135,13 @@ LIB_DEPENDS+=	libavro.so:devel/avro-c
 CONFIGURE_ARGS+=--enable-avro
 .endif
 
-#.if ${PORT_OPTIONS:MNFLOG}
+.if ${PORT_OPTIONS:MNFLOG}
 #CONFIGURE_ARGS+=--enable-nflog
 #PLIST_SUB+=WITH_NFLOG=""
-#.else
+.else
 CONFIGURE_ARGS+=--disable-nflog
 PLIST_SUB+=WITH_NFLOG="@comment "
-#.endif
+.endif
 
 .if ${PORT_OPTIONS:MGEOIP}
 LIB_DEPENDS+=	libGeoIP.so:net/GeoIP



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703211951.v2LJpXFE086103>