aboutsummaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2003-10-19 09:25:58 +0000
committerKris Kennaway <kris@FreeBSD.org>2003-10-19 09:25:58 +0000
commit2d3434d965b15439400532755fecb7faede7ccdd (patch)
tree0176871a43848b332526485d5be4d9144be08c9f /ftp
parent81298395dc388267738fb234aabbd813a2354a8b (diff)
downloadports-2d3434d965b15439400532755fecb7faede7ccdd.tar.gz
ports-2d3434d965b15439400532755fecb7faede7ccdd.zip
Respect CC and CFLAGS
Notes
Notes: svn path=/head/; revision=91645
Diffstat (limited to 'ftp')
-rw-r--r--ftp/ncftp/files/patch-aa71
-rw-r--r--ftp/ncftp1/files/patch-aa71
2 files changed, 70 insertions, 72 deletions
diff --git a/ftp/ncftp/files/patch-aa b/ftp/ncftp/files/patch-aa
index e2a827a4d1cc..7b5e57335254 100644
--- a/ftp/ncftp/files/patch-aa
+++ b/ftp/ncftp/files/patch-aa
@@ -1,36 +1,35 @@
-*** Makefile.orig Sun Oct 1 17:50:58 1995
---- Makefile Thu Nov 14 13:10:49 1996
-***************
-*** 13,19 ****
-
- # Program definitions. See the README, part C.
- #--------------------------------------------------------------------------
-! PDEFS =
- #PDEFS = -DGETLINE
- #PDEFS = -DREADLINE -DCURSES
- #PDEFS = -DSOCKS
---- 13,19 ----
-
- # Program definitions. See the README, part C.
- #--------------------------------------------------------------------------
-! PDEFS = -DREADLINE
- #PDEFS = -DGETLINE
- #PDEFS = -DREADLINE -DCURSES
- #PDEFS = -DSOCKS
-***************
-*** 53,59 ****
- # You'll need to know where the Rconnect.o object file is if you want
- # to use Socks.
- #--------------------------------------------------------------------------
-! LIBS =
- #LIBS = -ldbmalloc
- #LIBS = -lgetline
- #LIBS = -lreadline -lcurses
---- 53,59 ----
- # You'll need to know where the Rconnect.o object file is if you want
- # to use Socks.
- #--------------------------------------------------------------------------
-! LIBS = -lreadline
- #LIBS = -ldbmalloc
- #LIBS = -lgetline
- #LIBS = -lreadline -lcurses
+--- Makefile.orig Sun Oct 1 17:50:58 1995
++++ Makefile Sun Oct 19 02:18:45 2003
+@@ -13,7 +13,7 @@
+
+ # Program definitions. See the README, part C.
+ #--------------------------------------------------------------------------
+-PDEFS =
++PDEFS = -DREADLINE
+ #PDEFS = -DGETLINE
+ #PDEFS = -DREADLINE -DCURSES
+ #PDEFS = -DSOCKS
+@@ -24,11 +24,12 @@
+ # Choose your compiler and flags below. Make sure you use an ANSI compiler
+ # that handles new style function declarations and prototypes (gcc should).
+ #--------------------------------------------------------------------------
+-CC = cc
++CC ?= cc
+ #CC = gcc
+
++CFLAGS ?= -O -pipe
+ #CFLAGS = $(TERM_INC) -O
+-CFLAGS = $(TERM_INC) -O2
++CFLAGS += $(TERM_INC)
+ #CFLAGS = $(TERM_INC) -g
+
+ LFLAGS = -s
+@@ -53,7 +54,7 @@
+ # You'll need to know where the Rconnect.o object file is if you want
+ # to use Socks.
+ #--------------------------------------------------------------------------
+-LIBS =
++LIBS = -lreadline
+ #LIBS = -ldbmalloc
+ #LIBS = -lgetline
+ #LIBS = -lreadline -lcurses
diff --git a/ftp/ncftp1/files/patch-aa b/ftp/ncftp1/files/patch-aa
index e2a827a4d1cc..7b5e57335254 100644
--- a/ftp/ncftp1/files/patch-aa
+++ b/ftp/ncftp1/files/patch-aa
@@ -1,36 +1,35 @@
-*** Makefile.orig Sun Oct 1 17:50:58 1995
---- Makefile Thu Nov 14 13:10:49 1996
-***************
-*** 13,19 ****
-
- # Program definitions. See the README, part C.
- #--------------------------------------------------------------------------
-! PDEFS =
- #PDEFS = -DGETLINE
- #PDEFS = -DREADLINE -DCURSES
- #PDEFS = -DSOCKS
---- 13,19 ----
-
- # Program definitions. See the README, part C.
- #--------------------------------------------------------------------------
-! PDEFS = -DREADLINE
- #PDEFS = -DGETLINE
- #PDEFS = -DREADLINE -DCURSES
- #PDEFS = -DSOCKS
-***************
-*** 53,59 ****
- # You'll need to know where the Rconnect.o object file is if you want
- # to use Socks.
- #--------------------------------------------------------------------------
-! LIBS =
- #LIBS = -ldbmalloc
- #LIBS = -lgetline
- #LIBS = -lreadline -lcurses
---- 53,59 ----
- # You'll need to know where the Rconnect.o object file is if you want
- # to use Socks.
- #--------------------------------------------------------------------------
-! LIBS = -lreadline
- #LIBS = -ldbmalloc
- #LIBS = -lgetline
- #LIBS = -lreadline -lcurses
+--- Makefile.orig Sun Oct 1 17:50:58 1995
++++ Makefile Sun Oct 19 02:18:45 2003
+@@ -13,7 +13,7 @@
+
+ # Program definitions. See the README, part C.
+ #--------------------------------------------------------------------------
+-PDEFS =
++PDEFS = -DREADLINE
+ #PDEFS = -DGETLINE
+ #PDEFS = -DREADLINE -DCURSES
+ #PDEFS = -DSOCKS
+@@ -24,11 +24,12 @@
+ # Choose your compiler and flags below. Make sure you use an ANSI compiler
+ # that handles new style function declarations and prototypes (gcc should).
+ #--------------------------------------------------------------------------
+-CC = cc
++CC ?= cc
+ #CC = gcc
+
++CFLAGS ?= -O -pipe
+ #CFLAGS = $(TERM_INC) -O
+-CFLAGS = $(TERM_INC) -O2
++CFLAGS += $(TERM_INC)
+ #CFLAGS = $(TERM_INC) -g
+
+ LFLAGS = -s
+@@ -53,7 +54,7 @@
+ # You'll need to know where the Rconnect.o object file is if you want
+ # to use Socks.
+ #--------------------------------------------------------------------------
+-LIBS =
++LIBS = -lreadline
+ #LIBS = -ldbmalloc
+ #LIBS = -lgetline
+ #LIBS = -lreadline -lcurses