summaryrefslogtreecommitdiff
path: root/lang/gcc46
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2011-10-13 10:28:30 +0000
committerhans <hans@pkgsrc.org>2011-10-13 10:28:30 +0000
commit454d0efe53cfa8b726d3f31feb1eccda936b7868 (patch)
tree4f3f01ee32a998f743084212b643c86e3bfaf1c0 /lang/gcc46
parent8e4f150e257f6cb58c7444e6868efbd0f3bb589c (diff)
downloadpkgsrc-454d0efe53cfa8b726d3f31feb1eccda936b7868.tar.gz
The dependency on binutils and libelf seems to be for NetBSD only.
Diffstat (limited to 'lang/gcc46')
-rw-r--r--lang/gcc46/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/lang/gcc46/Makefile b/lang/gcc46/Makefile
index 0a1ca646491..b27557a27ba 100644
--- a/lang/gcc46/Makefile
+++ b/lang/gcc46/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2011/08/22 14:55:57 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2011/10/13 10:28:30 hans Exp $
DISTNAME= gcc-${GCC_VERSION}
PKGNAME= gcc46-${GCC_VERSION}
@@ -107,15 +107,14 @@ CONFIGURE_ARGS+= --with-mpfr=${BUILDLINK_PREFIX.mpfr}
CONFIGURE_ARGS+= --with-libiconv-prefix=${BUILDLINK_PREFIX.libiconv}
CONFIGURE_ARGS+= --with-gxx-include-dir=${GCC_PREFIX}/include/c++/
.if ${OPSYS} == "NetBSD"
+.include "../../devel/binutils/buildlink3.mk"
+.include "../../devel/libelf/buildlink3.mk"
CONFIGURE_ARGS+= --with-ld=${PREFIX}/bin/gnu-ld
CONFIGURE_ARGS+= --with-libelf=${PREFIX}
MAKE_ENV+= ac_cv_func_clock_gettime=yes
.endif
.if ${OPSYS} == "Linux"
CONFIGURE_ARGS+= --disable-libquadmath --disable-libquadmath-support
-.else
-.include "../../devel/binutils/buildlink3.mk"
-.include "../../devel/libelf/buildlink3.mk"
.endif
CONFIGURE_ENV+= CONFIG_SHELL=${CONFIG_SHELL}