The attached removes USE_GCC=any and adds --disable-werror to CONFIGURE_ARGS to allow building with clang. Initially I tried adding flags like -Wno-error=string-plus-int to CFLAGS but I kept having to disable more and more warnings and future versions of clang might require even more that I think setting --disable-werror is best. The attached patch also converts USE_GMAKE to USES=gmake.
Responsible Changed From-To: freebsd-ports-bugs->miwi miwi@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Maintainer of devel/mingw32-binutils, Please note that PR ports/181761 has just been submitted. If it contains a patch for an upgrade, an enhancement or a bug fix you agree on, reply to this email stating that you approve the patch and a committer will take care of it. The full text of the PR can be found at: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/181761 -- Edwin Groothuis via the GNATS Auto Assign Tool edwin@FreeBSD.org
Responsible Changed From-To: miwi->tijl Track my own PR.
This patch is good to me. Go ahead. Thanks, Naram Qashat On 09/02/13 15:10, Edwin Groothuis wrote: > Maintainer of devel/mingw32-binutils, > > Please note that PR ports/181761 has just been submitted. > > If it contains a patch for an upgrade, an enhancement or a bug fix > you agree on, reply to this email stating that you approve the patch > and a committer will take care of it. > > The full text of the PR can be found at: > http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/181761 >
Author: tijl Date: Mon Sep 2 22:00:52 2013 New Revision: 326102 URL: http://svnweb.freebsd.org/changeset/ports/326102 Log: - Remove USE_GCC=any and fix building with clang by disabling -Werror. - Convert USE_GMAKE to USES=gmake. PR: 181761 Approved by: Naram Qashat <cyberbotx@cyberbotx.com> (maintainer) Modified: head/devel/mingw32-binutils/Makefile Modified: head/devel/mingw32-binutils/Makefile ============================================================================== --- head/devel/mingw32-binutils/Makefile Mon Sep 2 21:57:08 2013 (r326101) +++ head/devel/mingw32-binutils/Makefile Mon Sep 2 22:00:52 2013 (r326102) @@ -3,6 +3,7 @@ PORTNAME= binutils PORTVERSION= ${BINUTILVERSION} +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_SOURCEWARE} @@ -15,14 +16,12 @@ COMMENT= GNU Binutils for Windows cross- BINUTILVERSION= 2.23.1 USE_BZIP2= yes -USE_GCC= any -USE_GMAKE= yes -USES= iconv +USES= gmake iconv GNU_CONFIGURE= yes CONFIGURE_ARGS= --target=${PKGNAMEPREFIX:S/-$//} \ --with-gcc --with-gnu-ld --with-gnu-as \ --disable-nls --disable-win32-registry \ - --disable-shared + --disable-shared --disable-werror INFO_PATH= ${PKGNAMEPREFIX:S/-$//}/info MAN1= ${PKGNAMEPREFIX}addr2line.1 ${PKGNAMEPREFIX}ar.1 \ _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: feedback->closed Committed in r326102.