svn commit: r492120 - head/graphics/gliv

Mark Linimon linimon at FreeBSD.org
Mon Feb 4 11:58:21 UTC 2019


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 \


More information about the svn-ports-all mailing list