Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Dec 2018 13:51:07 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r486757 - in head/graphics/gauche-gl: . files
Message-ID:  <201812061351.wB6Dp7tA037429@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812061351.wB6Dp7tA037429>