aboutsummaryrefslogtreecommitdiff
path: root/graphics/gliv
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2019-02-04 11:58:20 +0000
committerMark Linimon <linimon@FreeBSD.org>2019-02-04 11:58:20 +0000
commit94e16d6903b8a853e60ad6ea04d99dc4d99cffc1 (patch)
tree59b8228a39ef87d371ee6141d3563af366c9a32f /graphics/gliv
parente0f08dfc1d18b18da47c6d68f10fe9ccce67c577 (diff)
downloadports-94e16d6903b8a853e60ad6ea04d99dc4d99cffc1.tar.gz
ports-94e16d6903b8a853e60ad6ea04d99dc4d99cffc1.zip
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
Notes
Notes: svn path=/head/; revision=492120
Diffstat (limited to 'graphics/gliv')
-rw-r--r--graphics/gliv/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/graphics/gliv/Makefile b/graphics/gliv/Makefile
index 149bc8fddb10..0cd8f1bc1ac5 100644
--- a/graphics/gliv/Makefile
+++ b/graphics/gliv/Makefile
@@ -15,16 +15,14 @@ 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 \
${STAGEDIR}${PREFIX}/share/applications