ports/146940: lang/Gofer does not run

Stefan schaecsn at gmx.net
Tue May 25 05:10:02 UTC 2010


>Number:         146940
>Category:       ports
>Synopsis:       lang/Gofer does not run
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 25 05:10:01 UTC 2010
>Closed-Date:
>Last-Modified:
>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 at 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:
>Unformatted:



More information about the freebsd-ports-bugs mailing list