pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang



Module Name:    pkgsrc
Committed By:   maya
Date:           Tue Aug  6 14:05:05 UTC 2019

Modified Files:
        pkgsrc/lang/gcc7: Makefile
        pkgsrc/lang/gcc7-libs: Makefile

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 pkgsrc/lang/gcc7/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/lang/gcc7-libs/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/gcc7/Makefile
diff -u pkgsrc/lang/gcc7/Makefile:1.22 pkgsrc/lang/gcc7/Makefile:1.23
--- pkgsrc/lang/gcc7/Makefile:1.22      Sat Jan  5 00:39:13 2019
+++ pkgsrc/lang/gcc7/Makefile   Tue Aug  6 14:05:05 2019
@@ -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 @@ PKGNAME=        ${GCC_PKGNAME}-${GCC7_DIST_VERS
 ## 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 @@ GCC_PREFIX=           ${PREFIX}/${GCC_SUBPREFIX}
 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 @@ GENERATE_PLIST+= \
        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"

Index: pkgsrc/lang/gcc7-libs/Makefile
diff -u pkgsrc/lang/gcc7-libs/Makefile:1.4 pkgsrc/lang/gcc7-libs/Makefile:1.5
--- pkgsrc/lang/gcc7-libs/Makefile:1.4  Sat Jan  5 00:39:13 2019
+++ pkgsrc/lang/gcc7-libs/Makefile      Tue Aug  6 14:05:05 2019
@@ -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 @@ PKGNAME=        ${GCC_PKGNAME}-libs-${GCC7_DIST
 ## 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



Home | Main Index | Thread Index | Old Index