summaryrefslogtreecommitdiff
path: root/net/nast/files/patch-configure
diff options
context:
space:
mode:
Diffstat (limited to 'net/nast/files/patch-configure')
-rw-r--r--net/nast/files/patch-configure13
1 files changed, 11 insertions, 2 deletions
diff --git a/net/nast/files/patch-configure b/net/nast/files/patch-configure
index a2fd431efbcb..b8605f35fbc9 100644
--- a/net/nast/files/patch-configure
+++ b/net/nast/files/patch-configure
@@ -50,8 +50,17 @@
-fi
-
-fi
-+CPPFLAGS="`libnet-config --cflags`"
-+LDFLAGS="`libnet-config --libs`"
++CPPFLAGS="${CPPFLAGS} `libnet-config --cflags`"
++LDFLAGS="${LDFLAGS} `libnet-config --libs`"
if test "$filechk" = "no"; then { { echo "$as_me:$LINENO: error:
+@@ -3046,7 +3002,7 @@
+ CFLAGS="-Wall -O2"
+ ;;
+ *bsd*)
+- CFLAGS="-Wall -O2 -pthread"
++ CFLAGS="${CFLAGS} -Wall -pthread"
+ ;;
+ esac
+