Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Feb 2019 11:58:21 +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: r492120 - head/graphics/gliv
Message-ID:  <201902041158.x14BwLVq081462@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: linimon
Date: Mon Feb  4 11:58:20 2019
New Revision: 492120
URL: https://svnweb.freebsd.org/changeset/ports/492120

Log:
  Add USES=compiler:c11 to fix build on GCC-based architectures.
  
  While here, add gl and localbase:ldflags to USES, put USES before
  USE_* and sort USES.
  
  PR:		235371
  Submitted by:	Piotr Kubaj

Modified:
  head/graphics/gliv/Makefile

Modified: head/graphics/gliv/Makefile
==============================================================================
--- head/graphics/gliv/Makefile	Mon Feb  4 11:55:12 2019	(r492119)
+++ head/graphics/gliv/Makefile	Mon Feb  4 11:58:20 2019	(r492120)
@@ -15,15 +15,13 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	libgtkglext-x11-1.0.so:x11-toolkits/gtkglext
 
+USES=		compiler:c11 desktop-file-utils gettext gl gmake \
+		localbase:ldflags pathfix pkgconfig tar:bzip2
 USE_GNOME=	gnomeprefix gtk20
 USE_GL=		yes
-USES=		desktop-file-utils gettext gmake pkgconfig tar:bzip2 pathfix
 GNU_CONFIGURE=	yes
 MAKE_ARGS=	ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
 		AUTOHEADER="${TRUE}"
-
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
 
 post-install:
 	${INSTALL_DATA} ${WRKSRC}/gliv.desktop \



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