Date: Wed, 04 Apr 2018 08:31:54 +0200 From: Jan Beich <jbeich@FreeBSD.org> To: Danilo Egea Gondolfo <danilo@FreeBSD.org> Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r466375 - in head/emulators: mame mess Message-ID: <r2nv-scrp-wny@FreeBSD.org> In-Reply-To: <201804032035.w33KZPP9066657@repo.freebsd.org> (Danilo Egea Gondolfo's message of "Tue, 3 Apr 2018 20:35:25 %2B0000 (UTC)") References: <201804032035.w33KZPP9066657@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Danilo Egea Gondolfo <danilo@FreeBSD.org> writes: > .if ${OSVERSION} < 1100055 > -USE_GCC= 6 > +BUILD_DEPENDS+= clang50:devel/llvm50 > +CC= clang50 > +CXX= clang++50 > .endif This is identical to defining USES=compiler:c++14-lang. > +USES= compiler:c11 gmake jpeg pkgconfig python:2.7,build shebangfix > USE_GITHUB= yes > GH_ACCOUNT= mamedev > GH_PROJECT= mame # explicit (master port) > @@ -28,10 +30,11 @@ OPTIONS_DEFINE= DEBUG DOCS EXAMPLES > .include <bsd.port.options.mk> [...] > > -USES= compiler:c11 gmake jpeg pkgconfig python:2.7,build shebangfix > SHEBANG_FILES= src/devices/cpu/m6502/m6502make.py \ > src/devices/cpu/m6809/m6809make.py \ > src/devices/cpu/mcs96/mcs96make.py \ USE_GITHUB often has its own block before USES. Maybe drop duplicate bsd.port.options.mk include and group USES, USE_*, options. Index: emulators/mame/Makefile =================================================================== --- emulators/mame/Makefile (revision 466391) +++ emulators/mame/Makefile (working copy) @@ -19,30 +19,20 @@ 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 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 - +USES= compiler:c++14-lang gmake jpeg pkgconfig python:2.7,build shebangfix +USE_GL= gl +USE_SDL= sdl2 ttf2 +USE_QT5= buildtools core gui qmake_build widgets +USE_XORG= x11 xext xi xinerama xrender SHEBANG_FILES= src/devices/cpu/m6502/m6502make.py \ src/devices/cpu/m6809/m6809make.py \ src/devices/cpu/mcs96/mcs96make.py \ src/devices/cpu/tms57002/tmsmake.py -USE_XORG= x11 xext xi xinerama xrender -USE_GL= gl -USE_SDL= sdl2 ttf2 -USE_QT5= buildtools core gui qmake_build widgets MTARGET?= mame MSUBTARGET?= mame CFLAGS+= -I${LOCALBASE}/include @@ -59,6 +49,8 @@ PORTEXAMPLES= ${MSUBTARGET}.ini SUB_FILES= pkg-message target.ini SUB_LIST= MTARGET=${MTARGET} MSUBTARGET=${MSUBTARGET} +OPTIONS_DEFINE= DEBUG DOCS EXAMPLES + DEBUG_MAKE_ENV= DEBUG=1 .include <bsd.port.options.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?r2nv-scrp-wny>