diff options
author | tnn <tnn@pkgsrc.org> | 2015-03-21 01:17:08 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2015-03-21 01:17:08 +0000 |
commit | a51d70fd42539647b7117930f2e153cf4e7bf73b (patch) | |
tree | 888f4734ceb93a49725e61fb63fbefde51dd5267 /lang | |
parent | 496b9c3957d5c50e978c7c425bca95f90b263e9f (diff) | |
download | pkgsrc-a51d70fd42539647b7117930f2e153cf4e7bf73b.tar.gz |
Fix build on MKGCC=no systems
Diffstat (limited to 'lang')
-rw-r--r-- | lang/gcc3-c/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lang/gcc3-c/Makefile b/lang/gcc3-c/Makefile index 0bb21331fcc..1f77b7fddd9 100644 --- a/lang/gcc3-c/Makefile +++ b/lang/gcc3-c/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.27 2012/10/02 20:11:40 asau Exp $ +# $NetBSD: Makefile,v 1.28 2015/03/21 01:17:08 tnn Exp $ PKGNAME= gcc3${GCC3_PKGMODIF}-c-${GCC_VERSION} PKGREVISION= 1 @@ -17,8 +17,10 @@ MAKE_ENV+= ALL_GCC_CCC=${ALL_GCCXX_C:Q} .include "../../mk/compiler.mk" -.if empty(CC_VERSION:Mgcc-*) +.if empty(PKGSRC_COMPILER:Mgcc) BUILD_TARGET= bootstrap +# make it find it's own libgcc_s.so.1, the system might not provide it +MAKE_ENV+= LD_LIBRARY_PATH=${WRKSRC}/gcc .endif post-build: |