3 --- src/Makefile.in.orig 2004-07-25 11:17:34.000000000 +0000
7 top_srcdir = @top_srcdir@
13 @@ -16,7 +17,7 @@ CC = @CC@
16 CFLAGS = @CFLAGS@ -I.. -I$(top_srcdir) @DEFS@ $(CFLGS)
17 -CPPFLAGS = @CPPFLAGS@
18 +CPPFLAGS = @CPPFLAGS@ '-D__PREFIX__="@prefix@"' '-D__PKG_SYSCONFDIR__="@sysconfdir@"'
20 eggdrop_objs = bg.o botcmd.o botmsg.o botnet.o chanprog.o cmds.o dcc.o \
21 dccutil.o dns.o flags.o language.o match.o main.o mem.o misc.o misc_file.o \
22 @@ -37,7 +38,7 @@ doofus:
23 @echo "Linking eggdrop $(EGGBUILD)."
26 - $(LD) -o ../$(EGGEXEC) $(eggdrop_objs) $(MODOBJS) $(XLIBS) md5/md5c.o compat/*.o `cat mod/mod.xlibs`
27 + $(LD) -o ../$(EGGEXEC) $(eggdrop_objs) $(MODOBJS) $(XLDFLAGS) $(XLIBS) md5/md5c.o compat/*.o `cat mod/mod.xlibs`
28 $(STRIP) ../$(EGGEXEC)
30 @echo "Successful compile: $(EGGEXEC)"