svn commit: r486757 - in head/graphics/gauche-gl: . files
Mark Linimon
linimon at FreeBSD.org
Thu Dec 6 13:51:08 UTC 2018
Author: linimon
Date: Thu Dec 6 13:51:07 2018
New Revision: 486757
URL: https://svnweb.freebsd.org/changeset/ports/486757
Log:
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
Added:
head/graphics/gauche-gl/files/
head/graphics/gauche-gl/files/patch-src_Makefile.in (contents, props changed)
Modified:
head/graphics/gauche-gl/Makefile
Modified: head/graphics/gauche-gl/Makefile
==============================================================================
--- head/graphics/gauche-gl/Makefile Thu Dec 6 13:40:56 2018 (r486756)
+++ head/graphics/gauche-gl/Makefile Thu Dec 6 13:51:07 2018 (r486757)
@@ -18,7 +18,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= gosh:lang/gauche
RUN_DEPENDS= gosh:lang/gauche
-USES= localbase makeinfo tar:tgz
+USES= gl localbase makeinfo tar:tgz
USE_CSTD= gnu99
USE_XORG= ice sm x11 xext xmu xi
USE_GL= gl glu glut
Added: head/graphics/gauche-gl/files/patch-src_Makefile.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/graphics/gauche-gl/files/patch-src_Makefile.in Thu Dec 6 13:51:07 2018 (r486757)
@@ -0,0 +1,11 @@
+--- 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@
More information about the svn-ports-head
mailing list