Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Apr 2015 16:54:07 +0200
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        John Marino <marino@FreeBSD.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r384894 - head/lang/gcc5-aux
Message-ID:  <20150428165407.1bb95495@kalimero.tijl.coosemans.org>
In-Reply-To: <201504281216.t3SCGYSp044760@svn.freebsd.org>
References:  <201504281216.t3SCGYSp044760@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 28 Apr 2015 12:16:34 +0000 (UTC) John Marino <marino@FreeBSD.org> wrote:
> Author: marino
> Date: Tue Apr 28 12:16:33 2015
> New Revision: 384894
> URL: https://svnweb.freebsd.org/changeset/ports/384894
> 
> Log:
>   lang/gcc5-aux: r384038 (iconv commit) broken DragonFly, Fix
>   
>   Swapping LIBS with LDFLAGS and removing the *_configargs definitions
>   allows gcc5-aux to build on all supported platforms.  Now that gcc5 has
>   been released, new bootstrap compilers should be created for both FreeBSD
>   and DragonFly in order remove bootstrapping requirement (previously
>   gcc5 built live but not in poudriere, reason still unknown).
> 
> Modified:
>   head/lang/gcc5-aux/Makefile
> 
> Modified: head/lang/gcc5-aux/Makefile
> ==============================================================================
> --- head/lang/gcc5-aux/Makefile	Tue Apr 28 11:58:47 2015	(r384893)
> +++ head/lang/gcc5-aux/Makefile	Tue Apr 28 12:16:33 2015	(r384894)
> @@ -28,7 +28,7 @@ FULL_GNATGCC=		NOT_SET
>  OS_LABEL4VERS=		[${OPSYS}${GARCH:M*64:S/amd_//:S/x86_//}]
>  NO_MTREE=		yes
>  CPPFLAGS+=		-I${LOCALBASE}/include
> -LIBS+=			-L${LOCALBASE}/lib
> +LDFLAGS+=		-L${LOCALBASE}/lib
>  
>  OPTIONS_GROUP=		Standard Bootstrap
>  OPTIONS_GROUP_Standard=	FORT OBJC NLS TESTSUITE STATIC
> @@ -162,10 +162,7 @@ ADA_CONFIGURE_ENV+=	CFLAGS="${CFLAGS}"
>  ADA_CONFIGURE_ENV+=	CPPFLAGS="${CPPFLAGS}"
>  ADA_CONFIGURE_ENV+=	CXXFLAGS="${CXXFLAGS}"
>  ADA_CONFIGURE_ENV+=	LDFLAGS="${LDFLAGS}"
> -ADA_CONFIGURE_ENV+=	LIBS="${LIBS}"
>  ADA_CONFIGURE_ENV+=	PATH=${FULL_PATH}
> -ADA_CONFIGURE_ENV+=	build_configargs="CPPFLAGS=\"${CPPFLAGS}\" LIBS=\"${LIBS}\""
> -ADA_CONFIGURE_ENV+=	host_configargs="CPPFLAGS=\"${CPPFLAGS}\" LIBS=\"${LIBS}\""

On FreeBSD 10 it will link to libiconv without these instead of using
libc iconv.  I believe it will also try to use an internal libintl instead
of using libintl from gettext-runtime.  



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