svn commit: r384894 - head/lang/gcc5-aux

Tijl Coosemans tijl at FreeBSD.org
Tue Apr 28 14:55:27 UTC 2015


On Tue, 28 Apr 2015 12:16:34 +0000 (UTC) John Marino <marino at 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.  


More information about the svn-ports-head mailing list