forked from Lainports/freebsd-ports
Import upstream revisions r2258-r2260: do not use -I${LOCALBASE}/include
by default when option NG_IPACCT is off. If NG_IPACCT is on,
use -nostdinc to force needed header inclusion order to force
usage of base system libssl.
Bump PORTREVISION as package can change if built with default options
when net-mgmt/ng_ipacct is installed.
PR: 233471
23 lines
590 B
Text
23 lines
590 B
Text
Index: configure
|
|
===================================================================
|
|
--- src/configure (revision 2259)
|
|
+++ src/configure (working copy)
|
|
@@ -33,7 +33,9 @@ else
|
|
fi
|
|
|
|
echo -n "Looking for ng_ipacct ..."
|
|
-if [ -e /usr/include/netgraph/ng_ipacct.h \
|
|
+if [ "$USE_NG_IPACCT" = no ]; then
|
|
+ echo " disabled."
|
|
+else if [ -e /usr/include/netgraph/ng_ipacct.h \
|
|
-o -e /usr/local/include/netgraph/ng_ipacct.h ]
|
|
then
|
|
echo " found."
|
|
@@ -41,6 +43,7 @@ then
|
|
else
|
|
echo " not found."
|
|
fi
|
|
+fi
|
|
|
|
echo -n "Looking for ng_mppc ..."
|
|
if [ -e /usr/include/netgraph/ng_mppc.h \
|