diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2003-10-19 09:25:58 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2003-10-19 09:25:58 +0000 |
commit | 2d3434d965b15439400532755fecb7faede7ccdd (patch) | |
tree | 0176871a43848b332526485d5be4d9144be08c9f /ftp/ncftp1 | |
parent | Utilize PYTHON_SITE_SUBDIR. (diff) |
Respect CC and CFLAGS
Notes
Notes:
svn path=/head/; revision=91645
Diffstat (limited to 'ftp/ncftp1')
-rw-r--r-- | ftp/ncftp1/files/patch-aa | 71 |
1 files changed, 35 insertions, 36 deletions
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 |