pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/openjdk8



Module Name:    pkgsrc
Committed By:   gdt
Date:           Fri May 10 22:52:47 UTC 2024

Modified Files:
        pkgsrc/lang/openjdk8: Makefile

Log Message:
lang/openjdk8: Set IGNORE_CCCACHE=

openjdk has a scheme to figure out if the compiler is gcc or clang.
While it tries to see through ccache, using
  PKGSRC_COMPILER=ccache gcc
fails.  Set IGNORE_CCCACHE=yes as documented in mk/compiler/ccache.mk
to avoid using ccache, until someone fixes this better.


To generate a diff of this commit:
cvs rdiff -u -r1.126 -r1.127 pkgsrc/lang/openjdk8/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/openjdk8/Makefile
diff -u pkgsrc/lang/openjdk8/Makefile:1.126 pkgsrc/lang/openjdk8/Makefile:1.127
--- pkgsrc/lang/openjdk8/Makefile:1.126 Mon Mar 18 15:42:34 2024
+++ pkgsrc/lang/openjdk8/Makefile       Fri May 10 22:52:47 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.126 2024/03/18 15:42:34 ryoon Exp $
+# $NetBSD: Makefile,v 1.127 2024/05/10 22:52:47 gdt Exp $
 
 DISTNAME=      jdk8u-${GITHUB_TAG}
 PKGNAME=       openjdk8-1.8.${GITHUB_TAG:C/.*u([0-9]+).*/\1/}
@@ -36,6 +36,9 @@ CONFIG_GUESS_OVERRIDE+=       common/autoconf/
 CONFIG_SUB_OVERRIDE+=  common/autoconf/build-aux/autoconf-config.sub
 CONFIG_GUESS_OVERRIDE+=        common/autoconf/build-aux/autoconf-config.guess
 USE_LANGUAGES=         c c++
+# openjdk8's build system objects to wrapper which invokes ccache,
+# when trying to decide if it is gcc or clang, resulting in failure.
+IGNORE_CCACHE=         yes
 USE_TOOLS+=            bash gmake pax pkg-config unzip:run zip:run
 UNLIMIT_RESOURCES=     datasize stacksize virtualsize cputime
 PLIST_SRC+=            ${PLIST_SRC_DFLT}



Home | Main Index | Thread Index | Old Index