Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Oct 1998 15:08:54 +0100
From:      Brian Somers <brian@Awfulhak.org>
To:        asami@FreeBSD.ORG (Satoshi Asami)
Cc:        brian@Awfulhak.org, zerium@webindex.no, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, jseger@FreeBSD.ORG
Subject:   Re: cvs commit: ports/x11/kworldwatch Makefile 
Message-ID:  <199810141408.PAA12066@woof.lan.awfulhak.org>
In-Reply-To: Your message of "Tue, 13 Oct 1998 14:23:29 PDT." <199810132123.OAA24927@silvia.hip.berkeley.edu> 

next in thread | previous in thread | raw e-mail | index | archive | help
>  * I'll look into why it works for me then (tomorrow).
> 
> Thanks.  Meanwhile, it did indeed fix the problem for me.  Justin,
> here's the patch.  Please credit it to "Hans Petter Bieker
> <zerium@webindex.no>" in the commit message.
> 
> Satoshi

In configure:

: kde_libdirs="/usr/lib/kde/lib /usr/local/kde/lib /usr/kde/lib /usr/lib/kde /usr/lib /usr/X11R6/lib /usr/X11R6/kde/lib"
: test -n "$KDEDIR" && kde_libdirs="$KDEDIR/lib $KDEDIR $kde_libdirs"
: 
: kde_libdir=NO
: for i in $kde_libdirs;
: do
:   for j in libkdecore.la;  do
:    if test -r "$i/$j"; then
:       kde_libdir=$i      break 2
:     fi
:   done
: done

There's a similar loop for QT libraries too (and it optimises one out 
later on because they're the same)....

The above bit of the script is the only place that mentions 
/usr/local/kde/lib - and $i isn't used afterwards before being set 
again.

I have two -current machines, and it finds /usr/local/lib on both.  
Both machines are ELFified.

How about a set -x at the top of configure on your machine followed 
by a ``fgrep kde/lib'' ?
-- 
Brian <brian@Awfulhak.org>, <brian@FreeBSD.org>, <brian@OpenBSD.org>
      <http://www.Awfulhak.org>;
Don't _EVER_ lose your sense of humour....



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810141408.PAA12066>