pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/gcc9



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Wed Sep  2 16:11:28 UTC 2020

Modified Files:
        pkgsrc/lang/gcc9: Makefile
Added Files:
        pkgsrc/lang/gcc9: buildlink3.mk version.mk

Log Message:
gcc9: Add buidlink3.mk to select GCC with GCC_REQD

* And for gcc9-libs, introduce version.mk.
* A part of PR pkg/55637.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 pkgsrc/lang/gcc9/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/gcc9/buildlink3.mk \
    pkgsrc/lang/gcc9/version.mk

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

Modified files:

Index: pkgsrc/lang/gcc9/Makefile
diff -u pkgsrc/lang/gcc9/Makefile:1.22 pkgsrc/lang/gcc9/Makefile:1.23
--- pkgsrc/lang/gcc9/Makefile:1.22      Mon Aug 31 18:09:49 2020
+++ pkgsrc/lang/gcc9/Makefile   Wed Sep  2 16:11:28 2020
@@ -1,10 +1,11 @@
-# $NetBSD: Makefile,v 1.22 2020/08/31 18:09:49 wiz Exp $
+# $NetBSD: Makefile,v 1.23 2020/09/02 16:11:28 ryoon Exp $
 
-GCC9_VERSION=  9.3.0
+GCC_PKGNAME=   gcc9
+.include "version.mk"
 PKGREVISION=   3
 
-DISTNAME=      gcc-${GCC9_VERSION}
-PKGNAME=       gcc9-${GCC9_VERSION}
+DISTNAME=      gcc-${GCC9_DIST_VERSION}
+PKGNAME=       ${GCC_PKGNAME}-${GCC9_DIST_VERSION}
 CATEGORIES=    lang
 MASTER_SITES=  ${MASTER_SITE_GNU:=gcc/gcc-${GCC9_VERSION}/}
 EXTRACT_SUFX=  .tar.xz

Added files:

Index: pkgsrc/lang/gcc9/buildlink3.mk
diff -u /dev/null pkgsrc/lang/gcc9/buildlink3.mk:1.1
--- /dev/null   Wed Sep  2 16:11:28 2020
+++ pkgsrc/lang/gcc9/buildlink3.mk      Wed Sep  2 16:11:28 2020
@@ -0,0 +1,24 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/09/02 16:11:28 ryoon Exp $
+
+BUILDLINK_TREE+=       gcc9
+
+.if !defined(GCC9_BUILDLINK3_MK)
+GCC9_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.gcc9+=   gcc9>=${_GCC_REQD}
+BUILDLINK_ABI_DEPENDS.gcc9+=   gcc9>=9.0
+BUILDLINK_PKGSRCDIR.gcc9=      ../../lang/gcc9
+BUILDLINK_DEPMETHOD.gcc9?=     build
+
+BUILDLINK_PASSTHRU_DIRS+=      ${BUILDLINK_PREFIX.gcc9}/gcc9
+
+BUILDLINK_FILES.gcc9=          # empty
+BUILDLINK_AUTO_VARS.gcc9=      no
+
+pkgbase := gcc9
+.include "../../mk/pkg-build-options.mk"
+.include "../../mk/dlopen.buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.endif
+
+BUILDLINK_TREE+=       -gcc9
Index: pkgsrc/lang/gcc9/version.mk
diff -u /dev/null pkgsrc/lang/gcc9/version.mk:1.1
--- /dev/null   Wed Sep  2 16:11:28 2020
+++ pkgsrc/lang/gcc9/version.mk Wed Sep  2 16:11:28 2020
@@ -0,0 +1,2 @@
+# $NetBSD: version.mk,v 1.1 2020/09/02 16:11:28 ryoon Exp $
+GCC9_DIST_VERSION:=    9.3.0



Home | Main Index | Thread Index | Old Index