ports/lang/tcl/8.5/patches/patch-unix_configure

32 lines
912 B
Text

Setting this here will allow it to propagate through everything.
Index: unix/configure
--- unix/configure.orig
+++ unix/configure
@@ -7565,7 +7565,7 @@ fi
CC_SEARCH_FLAGS=""
LD_SEARCH_FLAGS=""
;;
- OpenBSD-*)
+ OpenBSD-*|SecBSD-*)
arch=`arch -s`
case "$arch" in
vax)
@@ -8854,7 +8854,7 @@ fi
BSD/OS*) ;;
CYGWIN_*|MINGW32_*) ;;
IRIX*) ;;
- NetBSD-*|FreeBSD-*|OpenBSD-*) ;;
+ NetBSD-*|FreeBSD-*|OpenBSD-*|SecBSD-*) ;;
Darwin-*) ;;
SCO_SV-3.2*) ;;
*) SHLIB_CFLAGS="-fPIC" ;;
@@ -18827,7 +18827,7 @@ if test "$FRAMEWORK_BUILD" = "1" ; then
elif test "$prefix/lib" != "$libdir"; then
TCL_PACKAGE_PATH="${libdir} ${prefix}/lib ${TCL_PACKAGE_PATH}"
else
- TCL_PACKAGE_PATH="${prefix}/lib ${TCL_PACKAGE_PATH}"
+ TCL_PACKAGE_PATH="${prefix}/lib/tcl"
fi
#--------------------------------------------------------------------