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

33 lines
1.2 KiB
Plaintext
Raw Normal View History

2007-10-24 10:58:16 -04:00
$OpenBSD: patch-configure,v 1.5 2007/10/24 14:58:16 steven Exp $
--- configure.orig Sun Feb 18 23:19:10 2007
+++ configure Sat Oct 13 15:48:01 2007
@@ -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 \
@@ -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"