diff options
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 ) |