Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Aug 2014 20:50:43 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r365133 - in head/ftp/quftp: . files
Message-ID:  <201408162050.s7GKohG1054705@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adamw
Date: Sat Aug 16 20:50:43 2014
New Revision: 365133
URL: http://svnweb.freebsd.org/changeset/ports/365133
QAT: https://qat.redports.org/buildarchive/r365133/

Log:
  Fix build on -current.

Added:
  head/ftp/quftp/files/patch-Makefile.in   (contents, props changed)
Modified:
  head/ftp/quftp/Makefile

Modified: head/ftp/quftp/Makefile
==============================================================================
--- head/ftp/quftp/Makefile	Sat Aug 16 20:27:14 2014	(r365132)
+++ head/ftp/quftp/Makefile	Sat Aug 16 20:50:43 2014	(r365133)
@@ -22,7 +22,8 @@ PLIST_FILES=	bin/quftp man/man1/quftp.1.
 
 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

Added: head/ftp/quftp/files/patch-Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/ftp/quftp/files/patch-Makefile.in	Sat Aug 16 20:50:43 2014	(r365133)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408162050.s7GKohG1054705>