diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 1999-04-14 17:08:00 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 1999-04-14 17:08:00 +0000 |
commit | 1ba6f387107ea8df694c9a6bfad21c1e14741c6c (patch) | |
tree | 3796a291ce1b4c403e4e94de787afc6642f7caa1 /comms | |
parent | Add greed (diff) |
Respect CFLAGS and CC.
Submitted by: Mikhail Teterin <mi@misha.cisco.com> (reworked by me)
Notes
Notes:
svn path=/head/; revision=17874
Diffstat (limited to 'comms')
-rw-r--r-- | comms/minicom/files/patch-aa | 37 |
1 files changed, 22 insertions, 15 deletions
diff --git a/comms/minicom/files/patch-aa b/comms/minicom/files/patch-aa index 75578ad911d0..6cbe0e9415a8 100644 --- a/comms/minicom/files/patch-aa +++ b/comms/minicom/files/patch-aa @@ -1,5 +1,5 @@ --- Makefile.orig Sat Jul 25 12:05:46 1998 -+++ Makefile Sun Dec 13 18:37:58 1998 ++++ Makefile Wed Apr 14 10:04:18 1999 @@ -22,10 +22,10 @@ # @@ -39,35 +39,42 @@ # Where to install things for "normal" sites. # BINDIR = /usr/local/bin -@@ -60,19 +60,19 @@ +@@ -60,17 +60,17 @@ # 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 -D_HAVE_MACROS - PROGS = minicom runscript ascii-xfr - LFLAGS = -s --LIBS = -lncurses #-lintl -+LIBS = -ltermcap -lcurses - CC = cc --# Take these compilation flags for FreeBSD. + # Take these compilation flags for FreeBSD. -#FLAGS = -Wall -D_POSIX -D_BSD43 -D_SELECT -D_DCDFLOW -#PROGS = minicom runscript ascii-xfr -#LFLAGS = -s -#LIBS = -ltermcap --#CC = cc -- ++FLAGS = -Wall -D_POSIX -D_BSD43 -D_SELECT -D_DCDFLOW -D_HAVE_MACROS ++PROGS = minicom runscript ascii-xfr ++LFLAGS = -s ++LIBS = -ltermcap -lcurses + #CC = cc + # Take these flags for SCO unix. - #FLAGS = -D_SYSV -D_SCO -D_POSIX -D_SELECT - #PROGS = minicom runscript ascii-xfr +@@ -178,7 +178,7 @@ + SOBJS = script.o sysdep1.o common.o + + # fmg 8/22/97: merge in new OPFLAGS... +-CFLAGS = $(FLAGS) $(OPFLAGS) -DLIBDIR=\"$(LIBDIR)\" ++CFLAGS += $(FLAGS) $(OPFLAGS) -DLIBDIR=\"$(LIBDIR)\" + + R = $(ROOTDIR) + @@ -188,7 +188,7 @@ $(CC) $(LFLAGS) -o minicom $(MOBJS) $(LIBS) |