Date: Sun, 18 May 2014 04:57:09 +0000 (UTC) From: Martin Wilke <miwi@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r354391 - head/emulators/gnuboy Message-ID: <201405180457.s4I4v9S9087077@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: miwi Date: Sun May 18 04:57:08 2014 New Revision: 354391 URL: http://svnweb.freebsd.org/changeset/ports/354391 QAT: https://qat.redports.org/buildarchive/r354391/ Log: - Fix build with clang - Stage support PR: -188144 Submitted by: ports fury Modified: head/emulators/gnuboy/Makefile Modified: head/emulators/gnuboy/Makefile ============================================================================== --- head/emulators/gnuboy/Makefile Sun May 18 04:55:41 2014 (r354390) +++ head/emulators/gnuboy/Makefile Sun May 18 04:57:08 2014 (r354391) @@ -11,14 +11,14 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Nintendo GameBoy emulator LICENSE= GPLv2 # (or later) -LICENSE_FILE= ${WRKSRC}/COPYING -LIB_DEPENDS= vga.1:${PORTSDIR}/graphics/svgalib +LIB_DEPENDS= libvga.so:${PORTSDIR}/graphics/svgalib +USES= compiler USE_SDL= sdl USE_XORG= x11 USE_AUTOTOOLS= autoconf -CONFIGURE_ARGS= --with-sdl +CONFIGURE_ARGS= --with-sdl --enable-optimize=low PORTDOCS= * PLIST_FILES= bin/sdlgnuboy bin/sgnuboy bin/xgnuboy @@ -26,14 +26,19 @@ PLIST_FILES= bin/sdlgnuboy bin/sgnuboy b CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + +.include <bsd.port.pre.mk> + +.if ${COMPILER_TYPE} == "clang" +CONFIGURE_ARGS+=--disable-asm +.endif + do-install: -.for file in sdlgnuboy sgnuboy xgnuboy - ${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin +.for i in sdlgnuboy sgnuboy xgnuboy + (cd ${WRKSRC} && ${INSTALL_PROGRAM} ${i} ${STAGEDIR}${PREFIX}/bin) .endfor -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR} -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC}/docs && ${INSTALL_DATA} * ${STAGEDIR}${DOCSDIR}) -.include <bsd.port.mk> +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405180457.s4I4v9S9087077>