summaryrefslogtreecommitdiff
path: root/mbone/imm/patches/patch-ad
blob: 84ce303d971e6edf4ea6ca342591f449575f3a4b (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
31
32
33
34
35
36
37
38
$NetBSD: patch-ad,v 1.7 2003/01/19 07:13:50 salo Exp $
--- Makefile.orig	Mon Feb 10 08:56:48 1997
+++ Makefile	Sun Sep 13 07:56:03 1998
@@ -1,9 +1,9 @@
 ##################################
 # Common Area
 SHELL = /bin/sh
-PREFIX = /usr/local
+#PREFIX = /usr/pkg
 INCLUDE_DIR = -I$(PREFIX)/include
-BINDIR= /usr/local/bin
+BINDIR= $(PREFIX)/bin
 
 noentry:
 	@echo "type 'make clean' followed by  'make SYSTEM' "
@@ -44,10 +44,10 @@
 netbsd:
 	$(MAKE) \
 	LIBS='-lm' \
-	TKLIBS='-L$(PREFIX)/lib -L/usr/X11/lib -ltk4.2 -ltcl7.6 -lX11' \
-	INCLUDES='-I. $(INCLUDE_DIR) -I/usr/X11/include' \
+	TKLIBS='-Wl,-R${LOCALBASE}/lib -Wl,-R${X11BASE}/lib -L$(LOCALBASE)/lib -L${X11BASE}/lib -ltk83 -ltcl83 -lX11' \
+	INCLUDES='-I. $(INCLUDE_DIR) -I${X11BASE}/include -I${LOCALBASE}/include -I${LOCALBASE}/include' \
 	SYSDEFS='-g -DSIG_T=int -DMULTICAST -DERROR_TEST' \
-	CC=gcc \
+	CC='cc -O2'\
 	all
 
 linux:
@@ -61,7 +61,7 @@
 
 ##############
 # common defines
-INSTALL=cp
+INSTALL=${BSD_INSTALL_PROGRAM}
 VERSION=36a1
 EXECS=imm immserv mnm mdpsniff