1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/ftp/ncftp/files/patch-aa
2003-10-19 09:25:58 +00:00

36 lines
1023 B
Plaintext

--- 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