summaryrefslogtreecommitdiff
path: root/chat/eggdrop/patches/patch-ag
diff options
context:
space:
mode:
Diffstat (limited to 'chat/eggdrop/patches/patch-ag')
-rw-r--r--chat/eggdrop/patches/patch-ag57
1 files changed, 57 insertions, 0 deletions
diff --git a/chat/eggdrop/patches/patch-ag b/chat/eggdrop/patches/patch-ag
new file mode 100644
index 00000000000..6b1e92c74b4
--- /dev/null
+++ b/chat/eggdrop/patches/patch-ag
@@ -0,0 +1,57 @@
+$NetBSD
+
+--- Makefile.in.orig Tue Feb 27 20:06:27 2001
++++ Makefile.in Fri Nov 2 11:40:10 2001
+@@ -42,7 +42,7 @@
+
+ # make modules
+ SHLIB_CC = @SHLIB_CC@
+-SHLIB_LD = @SHLIB_LD@
++SHLIB_LD = @SHLIB_LD@ -R@TCLLIB@
+ SHLIB_STRIP = @SHLIB_STRIP@
+ MOD_EXT = @MOD_EXT@
+
+@@ -61,6 +61,7 @@
+ # stuff for Tcl
+ XREQS = @TCL_REQS@
+ XLIBS = @TCL_LIBS@ @LIBS@
++XLDFLAGS = -Wl,-R@TCLLIB@
+ TCLLIB = @TCLLIB@
+ TCLLIBFN = @TCLLIBFN@
+
+@@ -86,29 +87,29 @@
+ MAKE_MODEGG = $(MAKE) 'MAKE=$(MAKE)' 'CC=$(MOD_CC)' 'LD=$(MOD_LD)' \
+ 'STRIP=$(MOD_STRIP)' 'RANLIB=$(RANLIB)' 'CFLGS=$(CFLGS)' \
+ 'TCLLIB=$(TCLLIB)' 'TCLLIBFN=$(TCLLIBFN)' 'XREQS=$(XREQS)' \
+-'XLIBS=$(XLIBS)' 'EGGEXEC=$(EGGEXEC)' 'EGGBUILD=' 'MODOBJS='
++'XLDFLAGS=$(XLDFLAGS)' 'XLIBS=$(XLIBS)' 'EGGEXEC=$(EGGEXEC)' 'EGGBUILD=' 'MODOBJS='
+
+ MAKE_MODULES = $(MAKE) 'MAKE=$(MAKE)' 'CC=$(SHLIB_CC)' 'LD=$(SHLIB_LD)' \
+-'STRIP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(XLIBS)' 'STRIP=touch' 'CFLGS=-g3 $(DEBCFLAGS) $(CFLGS)' \
+ 'MOD_EXT=$(MOD_EXT)'
+
+ MAKE_SDEBUG = $(MAKE) 'MAKE=$(MAKE)' 'CC=$(CC)' 'LD=$(LD) -g' \
+ 'STRIP=touch' 'RANLIB=$(RANLIB)' 'CFLGS=-g3 $(DEBCFLAGS) -DSTATIC $(CFLGS)' \
+-'TCLLIB=$(TCLLIB)' 'TCLLIBFN=$(TCLLIBFN)' 'XREQS=$(XREQS)' 'XLIBS=$(XLIBS)' \
++'TCLLIB=$(TCLLIB)' 'TCLLIBFN=$(TCLLIBFN)' 'XREQS=$(XREQS)' 'XLDFLAGS=$(XLDFLAGS)' 'XLIBS=$(XLIBS)' \
+ 'EGGEXEC=$(EGGEXEC)' 'EGGBUILD=(static and debug version)' 'MODOBJS=mod/*.o'
+
+ MAKE_DEPEND = $(MAKE) 'MAKE=$(MAKE)' 'CC=$(CC)' 'LD=$(LD)' \