pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang gcc7: use system zlib, and declare a dependency o...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/22a8cb61880c
branches:  trunk
changeset: 337515:22a8cb61880c
user:      maya <maya%pkgsrc.org@localhost>
date:      Tue Aug 06 14:05:05 2019 +0000

description:
gcc7: use system zlib, and declare a dependency on it.

this might be the cause of weird missing -lz on the latest SmartOS bulk
build, which appears to use this package (e.g. graphics/glitz).

Bump PKGREVISION.

diffstat:

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

diffs (51 lines):

diff -r 18050fe89f9d -r 22a8cb61880c lang/gcc7-libs/Makefile
--- a/lang/gcc7-libs/Makefile   Tue Aug 06 11:31:36 2019 +0000
+++ b/lang/gcc7-libs/Makefile   Tue Aug 06 14:05:05 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2019/01/05 00:39:13 adam Exp $
+# $NetBSD: Makefile,v 1.5 2019/08/06 14:05:05 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.4.*' pkg_add will choose gcc7-libs over gcc7.
-PKGREVISION=   1
+PKGREVISION=   2
 
 CATEGORIES=    lang
 MASTER_SITES=  # empty
diff -r 18050fe89f9d -r 22a8cb61880c lang/gcc7/Makefile
--- a/lang/gcc7/Makefile        Tue Aug 06 11:31:36 2019 +0000
+++ b/lang/gcc7/Makefile        Tue Aug 06 14:05:05 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2019/01/05 00:39:13 adam Exp $
+# $NetBSD: Makefile,v 1.23 2019/08/06 14:05:05 maya Exp $
 
 GCC_PKGNAME=           gcc7
 .include               "version.mk"
@@ -8,6 +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=   1
 CATEGORIES=    lang
 MASTER_SITES=  ${MASTER_SITE_GNU:=gcc/gcc-${GCC7_DIST_VERSION}/}
 EXTRACT_SUFX=  .tar.xz
@@ -36,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
@@ -191,6 +193,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