ports/73979: [PATCH] ftp/quftp: fix for sparc64 build issue

Frank Laszlo laszlof at vonostingroup.com
Mon Nov 15 21:50:27 UTC 2004


The following reply was made to PR ports/73979; it has been noted by GNATS.

From: Frank Laszlo <laszlof at vonostingroup.com>
To: freebsd-gnats-submit at FreeBSD.org, laszlof at vonostingroup.com
Cc:  
Subject: Re: ports/73979: [PATCH] ftp/quftp: fix for sparc64 build issue
Date: Mon, 15 Nov 2004 16:44:19 -0500

 This is a multi-part message in MIME format.
 --------------000409090706080707080809
 Content-Type: text/plain; charset=us-ascii; format=flowed
 Content-Transfer-Encoding: 7bit
 
 Sorry, that previous patch had some garbage in it from a previous 
 workaround. Here is a cleaner one.
 
 --------------000409090706080707080809
 Content-Type: text/plain;
  name="quftp-1_0_7_2.diff"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="quftp-1_0_7_2.diff"
 
 --- Makefile.orig	Fri Oct 15 20:04:19 2004
 +++ Makefile	Mon Nov 15 16:44:20 2004
 @@ -7,7 +7,7 @@
  
  PORTNAME=	quftp
  PORTVERSION=	1.0.7
 -PORTREVISION=	1
 +PORTREVISION=	2
  CATEGORIES=	ftp
  MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
  MASTER_SITE_SUBDIR=	quftp
 @@ -18,12 +18,20 @@
  LIB_DEPENDS=	readline.5:${PORTSDIR}/devel/readline
  
  GNU_CONFIGURE=	yes
 +USE_REINPLACE=	yes
  
 -CFLAGS+=	${PTHREAD_CFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}
 +.include <bsd.port.pre.mk>
 +
 +pre-configure:
 +.if ${ARCH} == "sparc64"
 +	@${REINPLACE_CMD} -e 's|-O6|-O2|g' ${WRKSRC}/Makefile.in
 +.endif
 +
 +CFLAGS+=        ${PTHREAD_CFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}
  CONFIGURE_ENV=	CFLAGS="${CFLAGS}"
  CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
  
  MAN1=		quftp.1
  PLIST_FILES=	bin/quftp
  
 -.include <bsd.port.mk>
 +.include <bsd.port.post.mk>
 
 --------------000409090706080707080809--



More information about the freebsd-ports-bugs mailing list