diff options
author | maya <maya@pkgsrc.org> | 2016-09-15 17:56:23 +0000 |
---|---|---|
committer | maya <maya@pkgsrc.org> | 2016-09-15 17:56:23 +0000 |
commit | 65e64a6d6e78a3e64e01fe6315749ece60945508 (patch) | |
tree | 996abccddf9e772cad4aad91fe27fa7edba3e4be /lang/gcc48/Makefile | |
parent | db6ef66d869b0f244bcdb7cbc6e171cf826d384c (diff) | |
download | pkgsrc-65e64a6d6e78a3e64e01fe6315749ece60945508.tar.gz |
gcc48: restore distinfo for file grabbed only when building gcc-java
pointed out by jperkin, thanks
fix netbsd gcc-java option build
netbsd has gethostbyname_r in libc, but not in any headers.
configure test succeeds, but compilation fails.
workaround with passing ac_cv_func_gethostbyname_r=no to autoconf
thanks joerg for the suggestion.
Diffstat (limited to 'lang/gcc48/Makefile')
-rw-r--r-- | lang/gcc48/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/gcc48/Makefile b/lang/gcc48/Makefile index 508d6e18875..a8887e1de5f 100644 --- a/lang/gcc48/Makefile +++ b/lang/gcc48/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.29 2016/09/12 18:42:04 maya Exp $ +# $NetBSD: Makefile,v 1.30 2016/09/15 17:56:23 maya Exp $ GCC_PKGNAME= gcc48 .include "version.mk" @@ -75,6 +75,7 @@ CONFIGURE_ARGS+= --enable-shared CONFIGURE_ARGS+= --enable-long-long CONFIGURE_ARGS+= --with-local-prefix=${GCC_PREFIX:Q} +MAKE_ENV.NetBSD+= ac_cv_func_gethostbyname_r=no .if !empty(MACHINE_PLATFORM:MNetBSD-*-*) # use the native SSP code in netbsd libc CONFIGURE_ARGS+= --disable-libssp |