From monkey@vectors.cx  Mon Sep 23 14:44:19 2002
Return-Path: <monkey@vectors.cx>
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 53E5D37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 23 Sep 2002 14:44:19 -0700 (PDT)
Received: from vectors.cx (manifold.vectors.cx [64.163.147.229])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 12B3143E3B
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 23 Sep 2002 14:44:19 -0700 (PDT)
	(envelope-from monkey@vectors.cx)
Received: from vectors.cx (73dd30d0b997935a9cbeabfe614fd316@localhost [127.0.0.1])
	by vectors.cx (8.12.6/8.12.4) with ESMTP id g8NLirho050169
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 23 Sep 2002 14:44:53 -0700 (PDT)
	(envelope-from monkey@vectors.cx)
Received: (from monkey@localhost)
	by vectors.cx (8.12.6/8.12.6/Submit) id g8NLirQf050168;
	Mon, 23 Sep 2002 14:44:53 -0700 (PDT)
	(envelope-from monkey)
Message-Id: <200209232144.g8NLirQf050168@vectors.cx>
Date: Mon, 23 Sep 2002 14:44:53 -0700 (PDT)
From: <adam@vectors.cx>
Reply-To: <adam@vectors.cx>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [patch] unbreak games/glife
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         43310
>Category:       ports
>Synopsis:       [patch] unbreak games/glife
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 23 14:50:01 PDT 2002
>Closed-Date:    Fri Sep 27 19:34:15 PDT 2002
>Last-Modified:  Fri Sep 27 19:34:15 PDT 2002
>Originator:     
>Release:        FreeBSD 4.7-RC i386
>Organization:
>Environment:
System: FreeBSD smacky.vectors.cx 4.7-RC FreeBSD 4.7-RC #21: Sun Sep 22 01:45:57 PDT 2002 root@smacky.vectors.cx:/usr/src/sys/compile/smacky i386


	
>Description:
	as described in http://bento.freebsd.org/errorlogs/4-latest/glife-0.2.1_1.log,
	the glife patch fails to apply. this caused the port to be marked BROKEN. this
	patch makes the patch into a REINPLACE_CMD, and thus unbreaks the port.
	
>How-To-Repeat:
	
>Fix:

	

	**be sure to remove files/patch-ab after applying this patch**

--- glife.patch begins here ---
--- games/glife/Makefile.orig	Mon Sep 23 14:39:02 2002
+++ games/glife/Makefile	Mon Sep 23 14:39:06 2002
@@ -15,8 +15,6 @@
 
 MAINTAINER=	ports@FreeBSD.org
 
-BROKEN=		"Does not patch"
-
 USE_REINPLACE=	yes
 USE_X_PREFIX=	yes
 USE_LIBTOOL=	yes
@@ -27,5 +25,7 @@
 post-patch:
 	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
 		 s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
+	@${REINPLACE_CMD} -e 's|(datadir)/locale|(prefix)/share/locale|' \
+		${WRKSRC}/po/Makefile.in.in
 
 .include <bsd.port.mk>
--- glife.patch ends here ---


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: pat 
State-Changed-When: Fri Sep 27 19:33:34 PDT 2002 
State-Changed-Why:  
Close request by originator in favor of PR ports/43429 

http://www.freebsd.org/cgi/query-pr.cgi?pr=43310 
>Unformatted:
