Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Feb 2017 16:47:34 +0000 (UTC)
From:      Vasil Dimov <vd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r433427 - head/ftp/wget
Message-ID:  <201702051647.v15GlY1k068216@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vd
Date: Sun Feb  5 16:47:34 2017
New Revision: 433427
URL: https://svnweb.freebsd.org/changeset/ports/433427

Log:
  ftp/wget: fix compilation error due to -R being passed to clang
  
  gcc accepts -R, but clang needs -Wl,-R and since we are changing
  this, use the proper -Wl,-rpath.
  
  Reported by:	Walter Schwarzenfeld, Barbara Guida, Jimmy Olgeni, Ken J.

Modified:
  head/ftp/wget/Makefile

Modified: head/ftp/wget/Makefile
==============================================================================
--- head/ftp/wget/Makefile	Sun Feb  5 16:46:03 2017	(r433426)
+++ head/ftp/wget/Makefile	Sun Feb  5 16:47:34 2017	(r433427)
@@ -78,6 +78,7 @@ post-patch:
 			 -e 's,@file{},@file{${PREFIX}},' \
 		${WRKSRC}/doc/sample.wgetrc* ${WRKSRC}/doc/wget.texi
 	${REINPLACE_CMD} -e '/ac_fn_c_check_header_mongrel.*uuid\/uuid.h/ d' \
+			 -e 's|-R$$found_dir|-Wl,-rpath=$$found_dir|g' \
 		${WRKSRC}/configure
 
 .include <bsd.port.pre.mk>



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