From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Apr 25 18:10:04 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A4EA3CCF for ; Thu, 25 Apr 2013 18:10:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 8E62611FA for ; Thu, 25 Apr 2013 18:10:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r3PIA4Ei057410 for ; Thu, 25 Apr 2013 18:10:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r3PIA4hY057409; Thu, 25 Apr 2013 18:10:04 GMT (envelope-from gnats) Resent-Date: Thu, 25 Apr 2013 18:10:04 GMT Resent-Message-Id: <201304251810.r3PIA4hY057409@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]) by hub.freebsd.org (Postfix) with ESMTP id 6C908B55 for ; Thu, 25 Apr 2013 18:01:11 +0000 (UTC) (envelope-from tkato432@yahoo.com) Received: from msa103lp.auone-net.jp (msa103lp.auone-net.jp [222.3.140.166]) by mx1.freebsd.org (Postfix) with ESMTP id 4574411AC for ; Thu, 25 Apr 2013 18:01:10 +0000 (UTC) Received: from localhost.localdomain (ZT028090.ppp.dion.ne.jp [59.128.28.90]) by msa103lp.auone-net.jp (au one net msa) with ESMTP id 4603547C036 for ; Fri, 26 Apr 2013 03:01:09 +0900 (JST) Message-Id: <20130426025631.2798d49cad32caf1af49ccb5@yahoo.com> Date: Fri, 26 Apr 2013 02:56:31 +0900 From: KATO Tsuguru To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/178160: emulators/sness9express: Fix build X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Apr 2013 18:10:04 -0000 >Number: 178160 >Category: ports >Synopsis: emulators/sness9express: Fix build >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: Thu Apr 25 18:10:04 UTC 2013 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 7.4-RELEASE-p11 i386 >Organization: >Environment: >Description: - Fix build >How-To-Repeat: >Fix: diff -urN /usr/ports/emulators/snes9express/Makefile emulators/snes9express/Makefile --- /usr/ports/emulators/snes9express/Makefile 2013-04-25 05:21:58.000000000 +0900 +++ emulators/snes9express/Makefile 2013-04-26 00:00:00.000000000 +0900 @@ -1,9 +1,5 @@ -# New ports collection makefile for: snes9express -# Date created: 15 Mar 2004 -# Whom: Travis Poppe -# +# Created by: Travis Poppe # $FreeBSD: head/emulators/snes9express/Makefile 316464 2013-04-24 18:10:30Z ak $ -# PORTNAME= snes9express PORTVERSION= 1.43 @@ -14,40 +10,45 @@ MAINTAINER= ports@FreeBSD.org COMMENT= GTK interface for snes9x +LICENSE= GPLv2 # (or later) + RUN_DEPENDS= snes9x:${PORTSDIR}/emulators/snes9x +OPTIONS_DEFINE= DOCS + USE_GNOME= gtk20 USES= gettext GNU_CONFIGURE= yes MAKE_JOBS_SAFE= yes -BROKEN= does not build - PORTDOCS= AUTHORS ChangeLog NEWS README PLIST_FILES= bin/${PORTNAME} \ %%DATADIR%%/snes.s9xskin \ %%DATADIR%%/snsp.s9xskin PLIST_DIRS= %%DATADIR%% +.include + +.if ${ARCH} == "sparc64" +BROKEN= Does not compile on sparc64 +.endif + post-patch: - @${REINPLACE_CMD} -e 's|||' \ - ${WRKSRC}/s9xskin.cc + @${REINPLACE_CMD} -e \ + 's|(gzFile\*)|| ; \ + s|\*fptr;|fptr;|' ${WRKSRC}/rom.cc + @${REINPLACE_CMD} -e \ + 's|||' ${WRKSRC}/s9xskin.cc do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin + (cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} ${PREFIX}/bin) @${MKDIR} ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/*.s9xskin ${DATADIR} -.if !defined(NOPORTDOCS) + (cd ${WRKSRC} && ${INSTALL_DATA} *.s9xskin ${DATADIR}) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} -.for file in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} +.for i in ${PORTDOCS} + (cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${DOCSDIR}) .endfor .endif -.include - -.if ${ARCH} == "sparc64" -BROKEN= Does not compile on sparc64 -.endif - .include >Release-Note: >Audit-Trail: >Unformatted: