From nobody@FreeBSD.org  Tue May 25 05:04:28 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id F1E74106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 25 May 2010 05:04:28 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id E14A88FC15
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 25 May 2010 05:04:28 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o4P54S1d020761
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 25 May 2010 05:04:28 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o4P54Sv3020760;
	Tue, 25 May 2010 05:04:28 GMT
	(envelope-from nobody)
Message-Id: <201005250504.o4P54Sv3020760@www.freebsd.org>
Date: Tue, 25 May 2010 05:04:28 GMT
From: Stefan <schaecsn@gmx.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: lang/Gofer does not run 
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         146940
>Category:       ports
>Synopsis:       lang/Gofer does not run
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    haskell
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 25 05:10:01 UTC 2010
>Closed-Date:    Sun May 30 11:52:40 UTC 2010
>Last-Modified:  Sun May 30 11:52:40 UTC 2010
>Originator:     Stefan
>Release:        8.0
>Organization:
>Environment:
FreeBSD xxx.xxx.xx 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sun May 23 16:07:41 PDT 2010     root@xxx.xxx.xx:/usr/src/sys/i386/compile/TAIPEI  i386
>Description:
gofer does not run

$ gofer
exec: %%PREFIX%%/lib/Gofer/gofer: not found

>How-To-Repeat:
$ make install
$ gofer
>Fix:
Apparently, it was forgotten to substitute %%PREFIX%%


Suggested solution. Add

	${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${PREFIX}/bin/gofer
	${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${PREFIX}/bin/goferc


After 

	${INSTALL_SCRIPT} ${WRKDIR}/scripts/gofer ${PREFIX}/bin
	${INSTALL_SCRIPT} ${WRKDIR}/scripts/goferc ${PREFIX}/bin

in Makefile

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->haskell 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue May 25 05:10:09 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=146940 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/146940: commit references a PR
Date: Sun, 30 May 2010 11:37:09 +0000 (UTC)

 pgj         2010-05-30 11:33:33 UTC
 
   FreeBSD ports repository
 
   Modified files:
     lang/Gofer           Makefile 
   Log:
   - Fix installation problem
   
   PR:             ports/146940
   Submitted by:   Stefan <schaecsn@gmx.net>
   
   Revision  Changes    Path
   1.22      +5 -0      ports/lang/Gofer/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: pgj 
State-Changed-When: Sun May 30 11:49:30 UTC 2010 
State-Changed-Why:  
Thank you for submission, it has been fixed by now. 

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