blob: d64141925160cdd0adc05b3e5a4f7466bef8dbbd (
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
|
$NetBSD: patch-ac,v 1.4 1999/11/12 16:07:02 agc Exp $
--- Makefile.in.orig Wed Feb 17 14:22:57 1999
+++ Makefile.in Fri Nov 12 16:04:03 1999
@@ -7,11 +7,18 @@
CC = @CC@
CFLAGS = @CFLAGS@
+CFLAGS += -I${LOCALBASE}/include # for ncurses.h
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
DEFS = @DEFS@
INSTALL = @INSTALL@
+OPSYS!= uname -s
+
+.if ${OPSYS} == "SunOS"
+LIBS+= -lcurses
+.endif
+
# Installation directories
prefix = @prefix@
exec_prefix = @exec_prefix@
@@ -39,7 +46,5 @@
rm -f Makefile config.cache config.status config.log
install: $(PRODUCT)
- $(INSTALL) -d -m 755 $(bindir)
- $(INSTALL) -s -m 755 $(PRODUCT) $(bindir)
- $(INSTALL) -d -m 755 $(mandir)
- $(INSTALL) -m 644 $(PRODUCT).1 $(mandir)
+ $(BSD_INSTALL_PROGRAM) $(PRODUCT) $(bindir)
+ $(BSD_INSTALL_DATA) $(PRODUCT).1 $(mandir)
|