Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Sep 2002 14:44:53 -0700 (PDT)
From:      <adam@vectors.cx>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/43310: [patch] unbreak games/glife
Message-ID:  <200209232144.g8NLirQf050168@vectors.cx>

next in thread | raw e-mail | index | archive | help

>Number:         43310
>Category:       ports
>Synopsis:       [patch] unbreak games/glife
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 23 14:50:01 PDT 2002
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209232144.g8NLirQf050168>