openbsd-ports/lang/otcl/patches/patch-configure

78 lines
2.3 KiB
Plaintext
Raw Normal View History

$OpenBSD: patch-configure,v 1.6 2011/01/05 18:49:20 sebastia Exp $
2007-10-24 10:58:16 -04:00
--- configure.orig Sun Feb 18 23:19:10 2007
+++ configure Thu Dec 23 11:24:03 2010
2007-10-24 10:58:16 -04:00
@@ -4163,6 +4163,7 @@ TCL_H_PLACES=" \
/usr/local/lib/tcl$TCL_HI_VERS \
/usr/local/lib/tcl$TCL_ALT_VERS \
/usr/local/include/tcl$TCL_VERS \
+ /usr/local/include/tcl$TCL_HI_VERS/generic \
/usr/local/include/tcl$TCL_HI_VERS \
/usr/local/include/tcl$TCL_ALT_VERS \
/usr/local/include \
@@ -4257,7 +4258,7 @@ else
echo "$as_me: error: $d is not a directory" >&2;}
{ (exit 1); exit 1; }; }
fi
- places="$TCL_H_PLACES_D"
+ places="$TCL_H_PLACES_D $TCL_H_PLACES"
fi
V_INCLUDE_TCL=""
@@ -4311,7 +4312,7 @@ else
echo "$as_me: error: $d is not a directory" >&2;}
{ (exit 1); exit 1; }; }
fi
- places="$TCL_H_PLACES_D"
+ places="$TCL_H_PLACES_D $TCL_H_PLACES"
fi
V_INCLUDE_TCL=""
@@ -4365,7 +4366,7 @@ else
echo "$as_me: error: $d is not a directory" >&2;}
{ (exit 1); exit 1; }; }
fi
- places="$TCL_LIB_PLACES_D"
+ places="$TCL_LIB_PLACES_D $TCL_LIB_PLACES"
fi
V_LIB_TCL=""
@@ -4824,7 +4825,7 @@ else
echo "$as_me: error: $d is not a directory" >&2;}
{ (exit 1); exit 1; }; }
fi
- places="$TK_H_PLACES_D"
+ places="$TK_H_PLACES_D $TK_H_PLACES"
fi
V_INCLUDE_TK=""
@@ -4878,7 +4879,7 @@ else
echo "$as_me: error: $d is not a directory" >&2;}
{ (exit 1); exit 1; }; }
fi
- places="$TK_LIB_PLACES_D"
+ places="$TK_LIB_PLACES_D $TK_LIB_PLACES"
fi
V_LIB_TK=""
2007-10-24 10:58:16 -04:00
@@ -5532,16 +5533,16 @@ case $system in
2000-01-05 21:18:23 -05:00
DL_LIBS="-ldl"
SHLD_FLAGS="-Wl,-Bexport"
;;
- NetBSD-*|FreeBSD-*)
+ NetBSD-*|FreeBSD-*|OpenBSD-*)
# Not available on all versions: check for include file.
if test -e /usr/include/dlfcn.h; then
SHLIB_CFLAGS="-fpic"
- SHLIB_LD="ld -Bshareable"
2000-01-05 21:18:23 -05:00
- SHLIB_SUFFIX=".so"
+ SHLIB_LD="cc -shared"
2006-01-04 15:26:58 -05:00
+ SHLIB_SUFFIX=".so.${LIBotcl_VERSION}"
2000-01-05 21:18:23 -05:00
DL_LIBS=""
SHLD_FLAGS=""
else
- echo "NetBSD/FreeBSD with no support for dynamic loading"
+ echo "NetBSD/FreeBSD/OpenBSD with no support for dynamic loading"
echo " or shared libraries on this system."
SHLIB_CFLAGS=""
SHLIB_LD=": Skipping shared libaries"