ports/170049: [patch] lang/clang-devel: add depend on binutils
4721 at hushmail.com
4721 at hushmail.com
Sat Jul 21 07:20:11 UTC 2012
>Number: 170049
>Category: ports
>Synopsis: [patch] lang/clang-devel: add depend on binutils
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sat Jul 21 07:20:11 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: 4721 at hushmail.com
>Release:
>Organization:
>Environment:
>Description:
the last update to lang/clang-devel has clang using a ld option which does not
exist in binutils 2.15:
/usr/bin/ld: unrecognized option '--hash-style=both'
/usr/bin/ld: use the --help option for usage information
clang: error: linker command failed with exit code 1 (use -v to see invocation)
patch adds a depend on binutils for systems that predate the import of binutils
2.17.50. (it would be nice if binutils 2.17.50 was MFC to 7/8-stable)
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: lang/clang-devel/Makefile
===================================================================
--- lang/clang-devel/Makefile (revision 301219)
+++ lang/clang-devel/Makefile (working copy)
@@ -91,6 +91,10 @@
BROKEN= Does not compile on sparc64
.endif
+.if ${OSVERSION} < 900033
+RUN_DEPENDS+= ${LOCALBASE}/bin/ld:${PORTSDIR}/devel/binutils
+.endif
+
.if defined(BOOTSTRAP) || defined(SVN_FETCH)
FETCH_DEPENDS+= svn:${PORTSDIR}/devel/subversion
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list