From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jan 9 16:00:39 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E242816A4CE for ; Fri, 9 Jan 2004 16:00:39 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id CCA8D43D31 for ; Fri, 9 Jan 2004 16:00:38 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i0A00cFR073569 for ; Fri, 9 Jan 2004 16:00:38 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i0A00cSB073563; Fri, 9 Jan 2004 16:00:38 -0800 (PST) (envelope-from gnats) Date: Fri, 9 Jan 2004 16:00:38 -0800 (PST) Message-Id: <200401100000.i0A00cSB073563@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Munish Chopra Subject: Re: ports/61139: net/psi Makefile errors X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Munish Chopra List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jan 2004 00:00:40 -0000 The following reply was made to PR ports/61139; it has been noted by GNATS. From: Munish Chopra To: Eugene Ossintsev 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