blob: abba77067b8747f34a4aa408222322b9702bbd12 (
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-ab,v 1.3 2006/10/27 10:35:47 adrianp Exp $
--- Makefile.am.orig 2005-09-22 16:39:18.000000000 +0100
+++ Makefile.am
@@ -1,13 +1,14 @@
-CC=gcc
-LIB=-lpcre -L./pcre-3.9/ -I./pcre-3.9/
-OPT=-O2
-OPT_DEBUG=-ggdb -Wall -lefence
+#CC=gcc
+LIB=-lpcre
+SHAREDIR=${PREFIX}/share/amap
+OPT=${CFLAGS} -DSHAREDIR="\"$(SHAREDIR)/\""
+#OPT_DEBUG=-ggdb -Wall -lefence
BINDIR=/bin
DATADIR=/etc
MANDIR=/man/man1
SCRIPTS=appdefs.trig appdefs.resp appdefs.rpc
MANPAGE=amap.1
-all: pcre strip
+all: strip
pcre:
cd pcre-3.9 && make
@@ -45,5 +46,4 @@ install: all
-test $(PREFIX)$(BINDIR)/amap6 || cd $(PREFIX)$(BINDIR) && ln -s amap amap6
clean:
- cd pcre-3.9 && make clean
rm -f amap amapcrap amap.exe amapcrap.exe amap6 amap-lib.o Makefile.in core *~ Makefile
|