ports/61139: net/psi Makefile errors

Munish Chopra chopra at soulwax.net
Sat Jan 10 00:00:40 UTC 2004


The following reply was made to PR ports/61139; it has been noted by GNATS.

From: Munish Chopra <chopra at soulwax.net>
To: Eugene Ossintsev <eugos at gmx.net>
Cc: freebsd-gnats-submit at FreeBSD.org
Subject: Re: ports/61139: net/psi Makefile errors
Date: Fri, 9 Jan 2004 18:45:38 -0500

 On 2004-01-09 22:37 +0000, Eugene Ossintsev wrote:
 > >It's in /usr/local/bin/psi. I'm under the impression that since it's an X
 > >program though, it should be going into /usr/X11R6/bin.
 > 
 > It's strange. It definitely must be under /usr/X11R6/bin . Hmm... I don't
 > understand why it is not so on you machine. :-/
 > 
 
 I don't understand how it can be that on anyone's machine at all. I've
 had several friends attempt this just in case I was on crack, all
 experienced the same thing.
 
 You need to create patches for some of the psi Makefiles. Check out
 src/Makefile especially, that seems to be the main culprit. All kinds of
 garbage is hardcoded there. If you're lukcy all you need to do is add a
 bunch of arguments to the configure script.
 
 > >>"--prefix=${PREFIX}" is used quite correctly. See "USE_X_PREFIX=yes" in 
 > >>net/psi's Makefile .
 > 
 > >Yeah I figured that would cover it, but that still doesn't explain this:
 > >
 > >... /usr/bin/strip /usr/X11R6/bin/psi /usr/bin/strip: /usr/X11R6/bin/psi: 
 > >No
 > >such file or directory *** Error code 1
 > 
 > Some lines from net/psi's Makefile:
 > 
 > USE_X_PREFIX=	yes
 > 
 > CONFIGURE_ARGS=	--prefix=${PREFIX}
 > 
 > post-install:
 >         ${STRIP_CMD} ${PREFIX}/bin/psi
 > 
 > So, it is installed to ${PREFIX} and stripped there, too.
 
 Well, it would be if the rest of the Makefiles play along. I suggest
 playing with the configure arguments, that should do it from what I can
 tell. I'd be rather surprised if it didn't, the psi folks seem quite
 competent.
 
 -- 
 Munish Chopra



More information about the freebsd-ports-bugs mailing list