Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Apr 2018 03:01:23 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r466524 - head/emulators/mame
Message-ID:  <201804050301.w3531NoU024596@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Thu Apr  5 03:01:23 2018
New Revision: 466524
URL: https://svnweb.freebsd.org/changeset/ports/466524

Log:
  - Use compiler:c++14-lang instead of an if statement
  - Split USES to a separate block
  
  Reported by:	jbeich, mat

Modified:
  head/emulators/mame/Makefile

Modified: head/emulators/mame/Makefile
==============================================================================
--- head/emulators/mame/Makefile	Thu Apr  5 02:55:43 2018	(r466523)
+++ head/emulators/mame/Makefile	Thu Apr  5 03:01:23 2018	(r466524)
@@ -19,21 +19,14 @@ LIB_DEPENDS=	libFLAC.so:audio/flac \
 		libfreetype.so:print/freetype2
 RUN_DEPENDS=	liberation-fonts-ttf>=0:x11-fonts/liberation-fonts-ttf
 
-USES=		compiler:c11 gmake jpeg pkgconfig python:2.7,build shebangfix
+USES=		compiler:c++14-lang gmake jpeg pkgconfig python:2.7,build shebangfix
+
 USE_GITHUB=	yes
 GH_ACCOUNT=	mamedev
 GH_PROJECT=	mame				# explicit (master port)
 GH_TAGNAME=	mame${PORTVERSION:S/.//}
 
 OPTIONS_DEFINE=		DEBUG DOCS EXAMPLES
-
-.include <bsd.port.options.mk>
-
-.if ${OSVERSION} < 1100055
-BUILD_DEPENDS+=	clang50:devel/llvm50
-CC=		clang50
-CXX=		clang++50
-.endif
 
 SHEBANG_FILES=	src/devices/cpu/m6502/m6502make.py \
 		src/devices/cpu/m6809/m6809make.py \



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