freebsd-ports/graphics/gauche-gl/files/patch-src_Makefile.in
Mark Linimon aa0dbd9750 Add patch to respect CFLAGS. This fixes the build on powerpc64.
While here, add gl to USES, per modern usage.

PR:		232859
Submitted by:	Piotr Kubaj
2018-12-06 13:51:07 +00:00

11 lines
440 B
Text

--- src/Makefile.in.orig 2018-10-31 17:01:43 UTC
+++ src/Makefile.in
@@ -17,7 +17,7 @@ DESTDIR =
# 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@ @X_CFLAGS@ @GLUT_INCDIR@ @GLEW_INCDIR@
LDFLAGS = @LDFLAGS@
OBJEXT = @OBJEXT@
SOEXT = @SOEXT@