summaryrefslogtreecommitdiff
path: root/comms/minicom/patches/patch-aa
blob: 8af099bcfe29137e6af365059a982dd5f68e048e (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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
$NetBSD: patch-aa,v 1.7 2000/06/12 18:40:55 rh Exp $

--- Makefile.orig	Tue Apr 25 17:42:32 2000
+++ Makefile	Mon Jun 12 20:21:05 2000
@@ -22,10 +22,10 @@
 # enochw@scn.org Oct 99: flags for UWIN 2.0 (Unix for Windows)
 
 # Where to install things for Linux sites (FSSTND)
-BINDIR	= /usr/bin
-LIBDIR	= /etc
-DOCDIR	= /usr/doc/minicom
-MANDIR	= /usr/man/man1
+#BINDIR	= /usr/bin
+#LIBDIR	= /etc
+#DOCDIR	= /usr/doc/minicom
+#MANDIR	= /usr/man/man1
 
 # fmg 8/22/97: seems a more logical place for this :-)
 # Select Compile Options you want:
@@ -53,6 +53,12 @@
 # DOCDIR = /usr/local/etc/minicom
 # MANDIR = /usr/local/man/man1
 
+# Where to install things for NetBSD sites.
+BINDIR	= ${PREFIX}/bin
+LIBDIR	= ${PREFIX}/etc/minicom
+DOCDIR	= ${PREFIX}/share/doc/minicom
+MANDIR	= ${PREFIX}/man/man1
+
 # Where to install things for "normal" sites.
 # BINDIR	= /usr/local/bin
 # LIBDIR	= /usr/local/lib
@@ -60,11 +66,11 @@
 # MANDIR	= /usr/local/man/man1
 
 # Take these compilation flags for Linux with libncurses.
-FLAGS	= -Wall -D_POSIX -D_SYSV -D_SELECT -pipe # -I/usr/include/ncurses
-PROGS	= minicom runscript ascii-xfr
-LFLAGS	= -s
-LIBS	= -lncurses #-lintl
-CC	= cc
+#FLAGS	= -Wall -D_POSIX -D_SYSV -D_SELECT -pipe # -I/usr/include/ncurses
+#PROGS	= minicom runscript ascii-xfr
+#LFLAGS	= -s
+#LIBS	= -lncurses #-lintl
+#CC	= cc
 
 # Take these compilation flags for FreeBSD.
 #FLAGS	= -Wall -D_POSIX -D_BSD43 -D_SELECT -D_DCDFLOW
@@ -173,6 +179,14 @@
 #LFLAGS	= -s
 #PROGS	= minicom runscript ascii-xfr keyserv
 #LIBS	=
+
+# Take these compilation flags for NetBSD.
+FLAGS	= -Wall -D_POSIX -D_BSD43 -D_SELECT -D_DCDFLOW -I$(PREFIX)/include -DBINDIR=\"$(BINDIR)\"
+PROGS	= minicom runscript ascii-xfr
+LFLAGS	= -s
+INTL	= -Wl,-R$(PREFIX)/lib -L$(PREFIX)/lib -lintl
+LIBS	= $(INTL) -lcurses -ltermcap
+CC	= cc
 
 # Nothing should have to change beneath this line