Set GCC_TARGET_MACHINE so RPATH set correctly to pickup libs from gcc5-libs

Bump PKGREVISION
This commit is contained in:
abs 2018-11-28 16:08:41 +00:00
parent 0fc39299c7
commit 5c41b5c818
2 changed files with 5 additions and 4 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.13 2018/07/18 22:42:57 maya Exp $
# $NetBSD: Makefile,v 1.14 2018/11/28 16:08:55 abs Exp $
GCC_PKGNAME= gcc5
.include "../../lang/${GCC_PKGNAME}/version.mk"
@ -9,7 +9,7 @@ PKGNAME= ${GCC_PKGNAME}-libs-${GCC5_DIST_VERSION}
## The PKGREVISION of this package needs to be at least 1 more than the
## PKGREVISION of the lang/gcc5 package so that with the dependence pattern
## '{gcc5,gcc5-libs}>=5.1.*' pkg_add will choose gcc5-libs over gcc5.
PKGREVISION= 2
PKGREVISION= 5
CATEGORIES= lang
MASTER_SITES= # empty

View file

@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.30 2018/08/22 09:45:19 wiz Exp $
# $NetBSD: Makefile,v 1.31 2018/11/28 16:08:41 abs Exp $
GCC_PKGNAME= gcc5
PKGREVISION= 3
PKGREVISION= 4
.include "version.mk"
DISTNAME= gcc-${GCC5_DIST_VERSION}
@ -37,6 +37,7 @@ GCC_PREFIX= ${PREFIX}/${GCC_SUBPREFIX}
GNU_CONFIGURE_PREFIX= ${GCC_PREFIX}
INFO_FILES= yes
CONFIGURE_ARGS+= --disable-libstdcxx-pch
GCC_TARGET_MACHINE= ${MACHINE_GNU_PLATFORM}
UNLIMIT_RESOURCES+= datasize
UNLIMIT_RESOURCES+= stacksize