From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Mar 31 18:40:03 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 76A44319 for ; Mon, 31 Mar 2014 18:40:03 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 57E303E3 for ; Mon, 31 Mar 2014 18:40:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s2VIe3L4004939 for ; Mon, 31 Mar 2014 18:40:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s2VIe3sK004938; Mon, 31 Mar 2014 18:40:03 GMT (envelope-from gnats) Resent-Date: Mon, 31 Mar 2014 18:40:03 GMT Resent-Message-Id: <201403311840.s2VIe3sK004938@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, KATO Tsuguru Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CD70CFF5 for ; Mon, 31 Mar 2014 18:30:26 +0000 (UTC) Received: from omta03.auone-net.jp (mail-or0-f67.auone-net.jp [106.187.230.67]) by mx1.freebsd.org (Postfix) with ESMTP id A1714352 for ; Mon, 31 Mar 2014 18:30:26 +0000 (UTC) Received: from coppermine.my.domain (ZT030154.ppp.dion.ne.jp [59.128.30.154]) by omta03.auone-net.jp (au one net mail) with ESMTP id 5A3291880010 for ; Tue, 1 Apr 2014 03:30:24 +0900 (JST) Message-Id: <20140401032606.855a2869974cd60d0610d0e5@yahoo.com> Date: Tue, 1 Apr 2014 03:26:06 +0900 From: KATO Tsuguru To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/188144: emulators/gnuboy: Fix build on -current X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Mar 2014 18:40:03 -0000 >Number: 188144 >Category: ports >Synopsis: emulators/gnuboy: Fix build on -current >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Mar 31 18:40:03 UTC 2014 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 8.4-RELEASE-p7 i386 >Organization: >Environment: >Description: - Fix build on -current >How-To-Repeat: >Fix: diff -urN /usr/ports/emulators/gnuboy/Makefile emulators/gnuboy/Makefile --- /usr/ports/emulators/gnuboy/Makefile 2013-11-06 22:06:17.000000000 +0900 +++ emulators/gnuboy/Makefile 2014-04-01 00:00:00.000000000 +0900 @@ -11,14 +11,14 @@ 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 @@ CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + +.include + +.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 +.include >Release-Note: >Audit-Trail: >Unformatted: