ports/irc/eggdrop/files/patch-aa
Foxfair Hu b3b7da74e5 Add eggdrop 1.6.13,
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.
2003-06-11 05:32:50 +00:00

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