$NetBSD: patch-ac,v 1.4 2004/12/03 12:15:54 adam Exp $ --- src/Makefile.in.orig 2004-07-25 11:17:34.000000000 +0000 +++ src/Makefile.in @@ -4,6 +4,7 @@ SHELL = @SHELL@ top_srcdir = @top_srcdir@ srcdir = @srcdir@ +prefix = @prefix@ VPATH = @srcdir@ @SET_MAKE@ @@ -16,7 +17,7 @@ CC = @CC@ LD = @CC@ STRIP = @STRIP@ CFLAGS = @CFLAGS@ -I.. -I$(top_srcdir) @DEFS@ $(CFLGS) -CPPFLAGS = @CPPFLAGS@ +CPPFLAGS = @CPPFLAGS@ '-D__PREFIX__="@prefix@"' '-D__PKG_SYSCONFDIR__="@sysconfdir@"' 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 +38,7 @@ doofus: @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 "" @echo "Successful compile: $(EGGEXEC)"