mirror of
https://git.freebsd.org/ports.git
synced 2025-07-07 20:39:18 -04:00
the most popular open source Internet Relay Chat bot. PR: 47296 Submitted by: Ulrich Spoerlein <q@uni.de> Update to the latest version 1.6.15 will followup immediately.
17 lines
443 B
Text
17 lines
443 B
Text
--- configure.orig Sat Mar 30 04:48:49 2002
|
|
+++ configure
|
|
@@ -2808,7 +2808,13 @@
|
|
*BSD)
|
|
# 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
|
|
cat >>confdefs.h <<\_ACEOF
|
|
#define MODULES_OK 1
|
|
_ACEOF
|