Date: Fri, 9 Jan 2004 16:00:38 -0800 (PST) From: Munish Chopra <chopra@soulwax.net> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/61139: net/psi Makefile errors Message-ID: <200401100000.i0A00cSB073563@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/61139; it has been noted by GNATS. From: Munish Chopra <chopra@soulwax.net> To: Eugene Ossintsev <eugos@gmx.net> Cc: freebsd-gnats-submit@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401100000.i0A00cSB073563>