From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Jun 7 06:20:08 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5EC5937B401 for ; Sat, 7 Jun 2003 06:20:08 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 43A2043FBD for ; Sat, 7 Jun 2003 06:20:07 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h57DK7Up038746 for ; Sat, 7 Jun 2003 06:20:07 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h57DK7Dq038745; Sat, 7 Jun 2003 06:20:07 -0700 (PDT) Resent-Date: Sat, 7 Jun 2003 06:20:07 -0700 (PDT) Resent-Message-Id: <200306071320.h57DK7Dq038745@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, gibbon@cocoa.freemail.ne.jp Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1175137B401 for ; Sat, 7 Jun 2003 06:11:23 -0700 (PDT) Received: from t-mta4.odn.ne.jp (mfep4.odn.ne.jp [143.90.131.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB8CB43FA3 for ; Sat, 7 Jun 2003 06:11:21 -0700 (PDT) (envelope-from th@smtp02.odn.ne.jp) Received: from breton.hiyama ([218.46.253.107]) by t-mta4.odn.ne.jp with ESMTP id <20030607131119820.UTQC.27446.t-mta4.odn.ne.jp@mta4.odn.ne.jp> for ; Sat, 7 Jun 2003 22:11:19 +0900 Received: from breton.hiyama (localhost [127.0.0.1]) by breton.hiyama (8.12.9/8.12.9) with ESMTP id h57D1TeD056038 for ; Sat, 7 Jun 2003 22:01:29 +0900 (JST) (envelope-from th@breton.hiyama) Received: (from th@localhost) by breton.hiyama (8.12.9/8.12.9/Submit) id h57D1SoJ056037; Sat, 7 Jun 2003 22:01:28 +0900 (JST) Message-Id: <200306071301.h57D1SoJ056037@breton.hiyama> Date: Sat, 7 Jun 2003 22:01:28 +0900 (JST) From: gibbon@cocoa.freemail.ne.jp To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.2 Subject: ports/53016: Fix for games/freebsd-games X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: gibbon@cocoa.freemail.ne.jp List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jun 2003 13:20:08 -0000 >Number: 53016 >Category: ports >Synopsis: Fix for games/freebsd-games >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jun 07 06:20:06 PDT 2003 >Closed-Date: >Last-Modified: >Originator: HIYAMA Takeshi >Release: FreeBSD 4.0-STABLE i386 >Organization: Hitachi Naka Electronics Co., Ld. >Environment: >Description: Some of the games in freebsd-games needs data files which is installed in /usr/local/share/games, but they won't work correctly because they look at /usr/share/games . >How-To-Repeat: install games/freebsd-games and run one of the followings. atc,cribbage,fish,larn,quiz >Fix: diff -urN freebsd-games.old/Makefile freebsd-games.new/Makefile --- freebsd-games.old/Makefile Fri Feb 21 02:32:07 2003 +++ freebsd-games.new/Makefile Mon Jun 2 02:05:39 2003 @@ -14,6 +14,7 @@ MAINTAINER= ports@FreeBSD.org COMMENT= FreeBSD-modified "Standard" BSD games +USE_REINPLACE= yes USE_BZIP2= yes MAN6= \ @@ -50,5 +51,10 @@ post-extract: @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} \ ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} extract) + +post-patch: + @${FIND} ${WRKSRC} -name '*.c' -or -name '*.h' -or -name '*.6' -or \ + -name 'index' | ${XARGS} ${REINPLACE_CMD} -e \ + 's|share/games|local/share/games|g' \ .include >Release-Note: >Audit-Trail: >Unformatted: