1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

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
This commit is contained in:
Mark Linimon 2018-12-06 13:51:07 +00:00
parent 03a978cff9
commit aa0dbd9750
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=486757
2 changed files with 12 additions and 1 deletions

View File

@ -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

View File

@ -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@