ports/net/nam/patches/patch-configure

40 lines
1.1 KiB
Text

Add OpenBSD paths.
Explicitly set compiler flags.
Index: configure
--- configure.orig
+++ configure
@@ -5041,7 +5041,7 @@ if test "$enable_debug" = "yes" ; then
V_DEFINE="$V_DEFINE -fsigned-char -fno-inline"
fi
else
- V_CCOPT="$OonS"
+ V_CCOPT="$CXXFLAGS"
V_DEFINE="$V_DEFINE -DNDEBUG"
if test "$CC" = gcc ; then
V_CCOPT="$V_CCOPT -Wall -Wno-write-strings"
@@ -5664,6 +5664,7 @@ TCL_OLD_VERS=8.4
TCL_OLD_ALT_VERS=`echo $TCL_OLD_VERS | sed 's/\.//'`
TCL_TCL_PLACES_D="$d \
+ $d/lib/tcl/tcl$TCL_VERS \
$d/lib64/tcl$TCL_HI_VERS \
$d/lib64/tcl$TCL_VERS \
$d/lib64/tcl$TCL_ALT_VERS \
@@ -6266,6 +6267,7 @@ TK_OLD_VERS=8.4
TK_OLD_ALT_VERS=`echo $TK_OLD_VERS | sed 's/\.//'`
TK_TCL_PLACES_D="$d \
+ $d/lib/tcl/tk$TK_VERS \
$d/lib64/tk$TK_VERS \
$d/lib64/tk$TK_ALT_VERS \
$d/lib64/tk$TK_VERS \
@@ -7011,6 +7013,7 @@ TCLCL_H_PLACES="\
/usr/contrib/include \
/usr/include"
TCLCL_H_PLACES_D="$d \
+ $d/include/tclcl \
$d/include"
TCLCL_LIB_PLACES="\
../tclcl-$TCLCL_VERS \