svn commit: r433427 - head/ftp/wget

Vasil Dimov vd at FreeBSD.org
Sun Feb 5 16:47:35 UTC 2017


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, at file{}, at 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>


More information about the svn-ports-all mailing list