Date: Sat, 7 Jun 2003 22:01:28 +0900 (JST) From: gibbon@cocoa.freemail.ne.jp To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/53016: Fix for games/freebsd-games Message-ID: <200306071301.h57D1SoJ056037@breton.hiyama> Resent-Message-ID: <200306071320.h57DK7Dq038745@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <bsd.port.mk> >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306071301.h57D1SoJ056037>