mirror of
https://git.freebsd.org/ports.git
synced 2025-06-06 21:30:31 -04:00
Respect CFLAGS and CC.
Submitted by: Mikhail Teterin <mi@misha.cisco.com> (reworked by me)
This commit is contained in:
parent
d4013c4a1a
commit
1ba6f38710
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=17874
1 changed files with 22 additions and 15 deletions
|
@ -1,5 +1,5 @@
|
||||||
--- Makefile.orig Sat Jul 25 12:05:46 1998
|
--- 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 @@
|
@@ -22,10 +22,10 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
|
@ -39,35 +39,42 @@
|
||||||
|
|
||||||
# Where to install things for "normal" sites.
|
# Where to install things for "normal" sites.
|
||||||
# BINDIR = /usr/local/bin
|
# BINDIR = /usr/local/bin
|
||||||
@@ -60,19 +60,19 @@
|
@@ -60,17 +60,17 @@
|
||||||
# MANDIR = /usr/local/man/man1
|
# MANDIR = /usr/local/man/man1
|
||||||
|
|
||||||
# Take these compilation flags for Linux with libncurses.
|
# Take these compilation flags for Linux with libncurses.
|
||||||
-FLAGS = -Wall -D_POSIX -D_SYSV -D_SELECT -pipe # -I/usr/include/ncurses
|
-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
|
+# FLAGS = -Wall -D_POSIX -D_SYSV -D_SELECT -pipe # -I/usr/include/ncurses
|
||||||
+# PROGS = minicom runscript ascii-xfr
|
+# PROGS = minicom runscript ascii-xfr
|
||||||
+# LFLAGS = -s
|
+# LFLAGS = -s
|
||||||
+# LIBS = -lncurses #-lintl
|
+# LIBS = -lncurses #-lintl
|
||||||
+# CC = cc
|
+# 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
|
-#FLAGS = -Wall -D_POSIX -D_BSD43 -D_SELECT -D_DCDFLOW
|
||||||
-#PROGS = minicom runscript ascii-xfr
|
-#PROGS = minicom runscript ascii-xfr
|
||||||
-#LFLAGS = -s
|
-#LFLAGS = -s
|
||||||
-#LIBS = -ltermcap
|
-#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.
|
# Take these flags for SCO unix.
|
||||||
#FLAGS = -D_SYSV -D_SCO -D_POSIX -D_SELECT
|
@@ -178,7 +178,7 @@
|
||||||
#PROGS = minicom runscript ascii-xfr
|
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 @@
|
@@ -188,7 +188,7 @@
|
||||||
$(CC) $(LFLAGS) -o minicom $(MOBJS) $(LIBS)
|
$(CC) $(LFLAGS) -o minicom $(MOBJS) $(LIBS)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue