freebsd-ports/irc/eggdrop/files/patch-ac
2003-06-11 05:44:25 +00:00

20 lines
811 B
Text

--- 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 ""