mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-08 03:44:13 -04:00
42 lines
1.3 KiB
Plaintext
42 lines
1.3 KiB
Plaintext
$NetBSD: patch-aa,v 1.7 2014/02/21 20:18:13 joerg Exp $
|
|
|
|
--- configure.orig 2011-10-26 02:00:10.000000000 +0000
|
|
+++ configure
|
|
@@ -5248,7 +5248,7 @@ $as_echo "#define DLOPEN_1 1" >>confdefs
|
|
|
|
fi
|
|
;;
|
|
- *BSD)
|
|
+ *BSD | DragonFly)
|
|
# FreeBSD/OpenBSD/NetBSD all support dlopen() and have had plenty of
|
|
# testing with Eggdrop.
|
|
WEIRD_OS="no"
|
|
@@ -5525,10 +5525,16 @@ $as_echo "#define STOP_UAC 1" >>confdefs
|
|
SHLIB_CC="$CC -PIC"
|
|
fi
|
|
;;
|
|
- *BSD)
|
|
+ *BSD | DragonFly)
|
|
# FreeBSD/OpenBSD/NetBSD
|
|
SHLIB_CC="$CC -fPIC"
|
|
- SHLIB_LD="ld -Bshareable -x"
|
|
+ if [ `echo __ELF__ | $CC -E - | grep -v '#'` = 1 ]; then
|
|
+ SHLIB_LD="ld -shared -x"
|
|
+ BEL_MOD_LD="$CC -Wl,-E $LDFLAGS"
|
|
+ else
|
|
+ SHLIB_LD="ld -Bshareable -x"
|
|
+ BEL_MOD_LD="$CC $LDFLAGS"
|
|
+ fi
|
|
;;
|
|
Darwin)
|
|
# Mac OS X
|
|
@@ -6872,7 +6878,7 @@ tclrecommendver="8.5.X"
|
|
tclrecommendsite="ftp://tcl.activestate.com/pub/tcl/tcl8_5/"
|
|
|
|
# Tcl library filename prefixes, suffixes, and search paths.
|
|
-tcllibnames="tcl8.5 tcl85 tcl8.4 tcl84 tcl8.3 tcl83 tcl8.2 tcl82 \
|
|
+tcllibnames="tcl86 tcl8.5 tcl85 tcl8.4 tcl84 tcl8.3 tcl83 tcl8.2 tcl82 \
|
|
tcl8.1 tcl81 tcl8.0 tcl80 tcl tcl7.6 tcl76 tcl7.5 tcl75 \
|
|
tcl7.4 tcl74 tcl7.3 tcl73 tcl7.2 tcl72 tcl7.1 tcl71 \
|
|
tcl7.0 tcl70"
|