diff options
author | Akinori Hattori <hattya@gentoo.org> | 2021-10-04 22:35:03 +0900 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2021-10-04 22:37:42 +0900 |
commit | 3a1fe8b0461de3ee551f5fedaa68063fa1a78f52 (patch) | |
tree | ec70cd6d75555d1261e36c28ac17df8942552b08 /dev-scheme/gauche-gl | |
parent | dev-scheme/gauche-gl: fix build with USE=cg (diff) | |
download | gentoo-3a1fe8b0461de3ee551f5fedaa68063fa1a78f52.tar.gz gentoo-3a1fe8b0461de3ee551f5fedaa68063fa1a78f52.tar.bz2 gentoo-3a1fe8b0461de3ee551f5fedaa68063fa1a78f52.zip |
dev-scheme/gauche-gl: respect CFLAGS
Closes: https://bugs.gentoo.org/738818
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Akinori Hattori <hattya@gentoo.org>
Diffstat (limited to 'dev-scheme/gauche-gl')
-rw-r--r-- | dev-scheme/gauche-gl/files/gauche-gl-0.6-cflags.patch | 11 | ||||
-rw-r--r-- | dev-scheme/gauche-gl/gauche-gl-0.6.ebuild | 1 |
2 files changed, 12 insertions, 0 deletions
diff --git a/dev-scheme/gauche-gl/files/gauche-gl-0.6-cflags.patch b/dev-scheme/gauche-gl/files/gauche-gl-0.6-cflags.patch new file mode 100644 index 000000000000..c5c12f97f06f --- /dev/null +++ b/dev-scheme/gauche-gl/files/gauche-gl-0.6-cflags.patch @@ -0,0 +1,11 @@ +--- a/src/Makefile.in ++++ b/src/Makefile.in +@@ -17,7 +17,7 @@ + # These are set by configure + # NB: cc and various flags must match the ones used to compile Gauche, + # so the make invocator shouldn't casually override them. +-CFLAGS = @DEFS@ @X_CFLAGS@ @GLUT_INCDIR@ @GLEW_INCDIR@ ++CFLAGS = @DEFS@ @CFLAGS@ @X_CFLAGS@ @GLUT_INCDIR@ @GLEW_INCDIR@ + LDFLAGS = @LDFLAGS@ + OBJEXT = @OBJEXT@ + SOEXT = @SOEXT@ diff --git a/dev-scheme/gauche-gl/gauche-gl-0.6.ebuild b/dev-scheme/gauche-gl/gauche-gl-0.6.ebuild index 4e7df252b476..411db2ea0049 100644 --- a/dev-scheme/gauche-gl/gauche-gl-0.6.ebuild +++ b/dev-scheme/gauche-gl/gauche-gl-0.6.ebuild @@ -27,6 +27,7 @@ S="${WORKDIR}/${MY_P}" PATCHES=( "${FILESDIR}"/${P}-simple.viewer.patch + "${FILESDIR}"/${P}-cflags.patch "${FILESDIR}"/${P}-cg.patch ) |