blob: 60e2f74cc2addeb95bae23de5439f923f4e96cc4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
$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)"
|