summaryrefslogblamecommitdiff
path: root/irc/eggdrop/files/patch-ac
blob: 5d79af0ea591ea8ff566f1147b35243aa4002737 (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                                                        







                                                                         
                                                                             








                                                                                                                        
--- src/Makefile.in.orig	Mon Jun  2 11:23:55 2003
+++ src/Makefile.in	Mon Jun  2 11:24:24 2003
@@ -16,7 +16,7 @@
 LD = @CC@
 STRIP = @STRIP@
 CFLAGS = @CFLAGS@ -I.. -I$(top_srcdir) @DEFS@ $(CFLGS)
-CPPFLAGS = @CPPFLAGS@
+CPPFLAGS = @CPPFLAGS@ '-D__PREFIX__="@prefix@"'
 
 eggdrop_objs = bg.o botcmd.o botmsg.o botnet.o chanprog.o cmds.o dcc.o \
 dccutil.o dns.o flags.o language.o match.o main.o mem.o misc.o misc_file.o \
@@ -37,7 +37,7 @@
 	@echo "Linking eggdrop... $(EGGBUILD)"
 	@echo ""
 	@touch mod/mod.xlibs
-	$(LD) -o ../$(EGGEXEC) $(eggdrop_objs) $(MODOBJS) $(XLIBS) md5/md5c.o compat/*.o `cat mod/mod.xlibs`
+	$(LD) -o ../$(EGGEXEC) $(eggdrop_objs) $(MODOBJS) $(XLDFLAGS) $(XLIBS) md5/md5c.o compat/*.o `cat mod/mod.xlibs`
 	$(STRIP) ../$(EGGEXEC)
 	@echo "Successful compile: $(EGGEXEC)"
 	@echo ""