mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Fix build on -current.
This commit is contained in:
parent
8ff7a739c9
commit
3c348581cf
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=365133
@ -22,7 +22,8 @@ PLIST_FILES= bin/quftp man/man1/quftp.1.gz
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|^CFLAGS|#CFLAGS|' ${WRKSRC}/Makefile.in
|
||||
'/^CFLAGS/s|+=.*|= ${CFLAGS} ${CPPFLAGS}|' \
|
||||
${WRKSRC}/Makefile.in
|
||||
|
||||
post-install:
|
||||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/quftp
|
||||
|
15
ftp/quftp/files/patch-Makefile.in
Normal file
15
ftp/quftp/files/patch-Makefile.in
Normal file
@ -0,0 +1,15 @@
|
||||
--- Makefile.in.orig 2014-08-16 16:46:25.000000000 -0400
|
||||
+++ Makefile.in 2014-08-16 16:46:47.000000000 -0400
|
||||
@@ -10,10 +10,10 @@
|
||||
|
||||
OBJS=ftp.o ftp_data.o ftp_directory.o ftp_login.o ftp_transfer.o ftp_list.o \
|
||||
text.o rc.o quftp.o log.o
|
||||
-LIBS += -lreadline -lncurses
|
||||
+LIBS += -lreadline -lncurses @LDFLAGS@
|
||||
HEADERS=*.h
|
||||
DEFS = @DEFS@
|
||||
-CFLAGS += -g -O6 -Wall
|
||||
+CFLAGS += -g -O6 -Wall @CPPFLAGS@
|
||||
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .c .o
|
Loading…
Reference in New Issue
Block a user