diff options
author | tron <tron@pkgsrc.org> | 1999-04-14 21:13:24 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 1999-04-14 21:13:24 +0000 |
commit | c4fbeaf9dc03621169f94a2aeab07ede7aed47c1 (patch) | |
tree | 4ec181b5ee2ec5859c4101f4ee4a65a647a82881 /comms/minicom/patches/patch-aa | |
parent | 958c6e540d75eafdce3b2c3cc3b583243183da27 (diff) | |
download | pkgsrc-c4fbeaf9dc03621169f94a2aeab07ede7aed47c1.tar.gz |
Update "minicom" package to version 1.82.1.
Diffstat (limited to 'comms/minicom/patches/patch-aa')
-rw-r--r-- | comms/minicom/patches/patch-aa | 117 |
1 files changed, 77 insertions, 40 deletions
diff --git a/comms/minicom/patches/patch-aa b/comms/minicom/patches/patch-aa index 413773cf023..acfdbee3496 100644 --- a/comms/minicom/patches/patch-aa +++ b/comms/minicom/patches/patch-aa @@ -1,58 +1,95 @@ -$NetBSD: patch-aa,v 1.3 1998/08/07 10:36:41 agc Exp $ +$NetBSD: patch-aa,v 1.4 1999/04/14 21:13:24 tron Exp $ ---- Makefile.orig Sun Apr 28 16:16:29 1996 -+++ Makefile Wed Feb 11 22:56:40 1998 -@@ -12,17 +12,17 @@ +--- Makefile.orig Sat Jul 25 21:05:46 1998 ++++ Makefile Wed Apr 14 22:34:08 1999 +@@ -22,10 +22,10 @@ # # Where to install things for Linux sites (FSSTND) -BINDIR = /usr/bin -LIBDIR = /etc --DOCDIR = /usr/doc/examples/minicom +-DOCDIR = /usr/doc/minicom -MANDIR = /usr/man/man1 -+# BINDIR = /usr/bin -+# LIBDIR = /etc -+# DOCDIR = /usr/doc/examples/minicom -+# MANDIR = /usr/man/man1 - - # Where to install things for FreeBSD sites. --# BINDIR = /usr/local/bin --# LIBDIR = /usr/local/etc/minicom -+BINDIR = ${PREFIX}/bin -+LIBDIR = ${PREFIX}/etc/minicom - ##DOCDIR = /usr/local/share/minicom --# DOCDIR = /usr/local/etc/minicom --# MANDIR = /usr/local/man/man1 -+DOCDIR = ${PREFIX}/etc/minicom -+MANDIR = ${PREFIX}/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 -@@ -38,18 +38,18 @@ - #CC = cc + # LIBDIR = /usr/local/lib +@@ -60,11 +66,11 @@ + # MANDIR = /usr/local/man/man1 - # Take these compilation flags for Linux with ncurses. --FLAGS = -Wall -D_POSIX -D_SYSV -D_SELECT -D_HAVE_MACROS # -I/usr/include/ncurses + # 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 +-LIBS = -lncurses #-lintl -CC = cc -- --# Take these compilation flags for FreeBSD. --#FLAGS = -Wall -D_POSIX -D_BSD43 -D_SELECT -D_HAVE_MACROS -D_DCDFLOW -+#FLAGS = -Wall -D_POSIX -D_SYSV -D_SELECT -D_HAVE_MACROS # -I/usr/include/ncurses - #PROGS = minicom runscript ascii-xfr - #LFLAGS = -s --#LIBS = -ltermcap -+#LIBS = -lncurses - #CC = cc -+ -+# Take these compilation flags for FreeBSD. -+FLAGS = -Wall -D_POSIX -D_BSD43 -D_SELECT -D_HAVE_MACROS -D_DCDFLOW -DBINDIR=\"${BINDIR}\" ++#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 +@@ -153,6 +159,14 @@ + #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 -+LIBS = -ltermcap ++INTL = -Wl,-R$(PREFIX)/lib -L$(PREFIX)/lib -lintl ++LIBS = $(INTL) -lncurses -ltermcap +CC = cc ++ + # Nothing should have to change beneath this line + + SRCS = minicom.c vt100.c config.c help.c updown.c \ +@@ -188,13 +202,13 @@ + $(CC) $(LFLAGS) -o minicom $(MOBJS) $(LIBS) + + po: dummy +- make -C po ++ ${MAKE} -C po + + keyserv: $(KOBJS) + $(CC) -o keyserv $(LFLAGS) $(KOBJS) $(LIBS) + + runscript: $(SOBJS) +- $(CC) -o runscript $(LFLAGS) $(SOBJS) ++ $(CC) -o runscript $(LFLAGS) $(SOBJS) $(INTL) + + ascii-xfr: ascii-xfr.o + $(CC) -s -o ascii-xfr $(LFLAGS) ascii-xfr.o +@@ -241,12 +255,12 @@ + dummy: + + install: $(PROGS) +- make -C po install R=$(R) ++ ${MAKE} -C po install R=$(R) + sh install.sh $(R)$(LIBDIR) $(R)$(BINDIR) $(R)$(MANDIR) $(R)$(DOCDIR) + + clobber: + rm -f *.o *~ minicom keyserv runscript ascii-xfr +- make -C po clean ++ ${MAKE} -C po clean - # Take these flags for SCO unix. - #FLAGS = -D_SYSV -D_SCO -D_POSIX -D_SELECT -D_HAVE_MACROS + clean: + rm -f *.o |