aboutsummaryrefslogtreecommitdiffstats
path: root/ftp
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2003-10-19 17:25:58 +0800
committerkris <kris@FreeBSD.org>2003-10-19 17:25:58 +0800
commitfdce7ce7a936aed87fd6be1951b750ab470165e7 (patch)
tree53022b584020f58c1788e84107c6604402ebc08b /ftp
parentafe2d089daa8f0305f28d7219aea82e5f7f51f99 (diff)
downloadfreebsd-ports-gnome-fdce7ce7a936aed87fd6be1951b750ab470165e7.tar.gz
freebsd-ports-gnome-fdce7ce7a936aed87fd6be1951b750ab470165e7.tar.zst
freebsd-ports-gnome-fdce7ce7a936aed87fd6be1951b750ab470165e7.zip
Respect CC and CFLAGS
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