pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/pkgsrc-2018Q3]: pkgsrc/lang gcc7: declare dependency on zlib, and tel...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/137ed712e9c2
branches:  pkgsrc-2018Q3
changeset: 338436:137ed712e9c2
user:      maya <maya%pkgsrc.org@localhost>
date:      Tue Aug 06 13:56:20 2019 +0000

description:
gcc7: declare dependency on zlib, and tell gcc to use the system zlib.
this might be the cause of weird missing -lz on the latest SmartOS bulk
build, which appears to use this package.

Bump PKGREVISION.
Make sure gcc7-libs PKGREVISION > gcc7 PKGREVISION
(This was not the case before)

diffstat:

 lang/gcc7-libs/Makefile |  4 ++--
 lang/gcc7/Makefile      |  6 ++++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diffs (52 lines):

diff -r 835e8771a66c -r 137ed712e9c2 lang/gcc7-libs/Makefile
--- a/lang/gcc7-libs/Makefile   Wed Dec 12 06:55:20 2018 +0000
+++ b/lang/gcc7-libs/Makefile   Tue Aug 06 13:56:20 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2018/07/18 22:55:08 maya Exp $
+# $NetBSD: Makefile,v 1.3.2.1 2019/08/06 13:56:20 maya Exp $
 
 GCC_PKGNAME=   gcc7
 .include       "../../lang/${GCC_PKGNAME}/version.mk"
@@ -9,7 +9,7 @@
 ## The PKGREVISION of this package needs to be at least 1 more than the
 ## PKGREVISION of the lang/gcc7 package so that with the dependence pattern
 ## '{gcc7,gcc7-libs}>=7.3.*' pkg_add will choose gcc7-libs over gcc7.
-PKGREVISION=   4
+PKGREVISION=   6
 
 CATEGORIES=    lang
 MASTER_SITES=  # empty
diff -r 835e8771a66c -r 137ed712e9c2 lang/gcc7/Makefile
--- a/lang/gcc7/Makefile        Wed Dec 12 06:55:20 2018 +0000
+++ b/lang/gcc7/Makefile        Tue Aug 06 13:56:20 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2018/08/22 09:45:20 wiz Exp $
+# $NetBSD: Makefile,v 1.20.2.1 2019/08/06 13:56:20 maya Exp $
 
 GCC_PKGNAME=           gcc7
 .include               "version.mk"
@@ -8,7 +8,7 @@
 ## When bumping the PKGREVISION of this package the PKGREVISION of
 ## lang/gcc7-libs needs to be bump to be at least 1 more than the
 ## PKGREVISION of this package!
-PKGREVISION=   4
+PKGREVISION=   5
 CATEGORIES=    lang
 MASTER_SITES=  ${MASTER_SITE_GNU:=gcc/gcc-${GCC7_DIST_VERSION}/}
 EXTRACT_SUFX=  .tar.xz
@@ -37,6 +37,7 @@
 GNU_CONFIGURE_PREFIX=  ${GCC_PREFIX}
 INFO_FILES=            yes
 CONFIGURE_ARGS+=       --disable-libstdcxx-pch
+CONFIGURE_ARGS+=       --with-system-zlib
 
 UNLIMIT_RESOURCES+=    datasize
 UNLIMIT_RESOURCES+=    stacksize
@@ -199,6 +200,7 @@
        cd ${DESTDIR}${PREFIX} &&                                       \
        ${FIND} ${GCC_SUBPREFIX} \( -type f -o -type l \) -print | ${SORT} ;
 
+.include "../../devel/zlib/buildlink3.mk"
 .include "../../mk/dlopen.buildlink3.mk"
 .include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index