From owner-cvs-ports@FreeBSD.ORG Mon Jul 14 02:32:57 2003 Return-Path: Delivered-To: cvs-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C3F1037B401; Mon, 14 Jul 2003 02:32:57 -0700 (PDT) Received: from obsecurity.dyndns.org (adsl-64-169-104-32.dsl.lsan03.pacbell.net [64.169.104.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id C031043F85; Mon, 14 Jul 2003 02:32:56 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id 3E68866E08; Mon, 14 Jul 2003 02:32:55 -0700 (PDT) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id 242D8BF9; Mon, 14 Jul 2003 02:32:55 -0700 (PDT) Date: Mon, 14 Jul 2003 02:32:55 -0700 From: Kris Kennaway To: Volker Stolz Message-ID: <20030714093255.GA14960@rot13.obsecurity.org> References: <20030714072236.GK14622@fump.kawo2.rwth-aachen.de> <20030714092911.GB3714@theater.foldr.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="liOOAslEiF7prFVr" Content-Disposition: inline In-Reply-To: <20030714092911.GB3714@theater.foldr.org> User-Agent: Mutt/1.4.1i cc: cvs-ports@freebsd.org cc: kris@freebsd.org cc: cvs-all@freebsd.org cc: Alexander Langer cc: ports-committers@freebsd.org Subject: Re: (fwd) Re: cvs commit: ports/x11-toolkits/open-motif/files patch-lib::Xm::ColorS.c X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jul 2003 09:32:58 -0000 --liOOAslEiF7prFVr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jul 14, 2003 at 11:29:11AM +0200, Volker Stolz wrote: > On Mon, Jul 14, 2003 at 09:22:36AM +0200, Alexander Langer wrote: > > ----- Forwarded message from Kris Kennaway ----- > > > 'colordemo' from open-motif can be used to select colors by either = RGB values > > > or from the file rgb.txt. However, the underlying library doesn't h= onour XBASE > > > and looks for the file in the wrong place. > > > =20 > > Are you sure this patch is correct? How does X11BASE get transmuted > > into LIBDIR (which defaults to /usr/lib)? >=20 > LIBDIR gets set in the Makefile by means of configure and is handled in t= he same > way in similar places throughout the source, e.g. openmotif-2.2.2/lib/Xm/= Xmos.c > I added the #ifndef LIBDIR lines so that in case somebody else picks up o= ur patches or > chooses to configure this thing in a different way, he gets the behaviour= of the > original source code. Notice the -DLIBDIR in the actual command being exe= cuted from the > FreeBSD port: >=20 > cc -DHAVE_CONFIG_H -I. -I. -I../../include -I./.. -DXMBINDDIR_FALLBACK=3D= \"/usr/X11R6/lib/X11/bindings\" -DINCDIR=3D\"/usr/X11R6/include/X11\" -DLIB= DIR=3D\"/usr/X11R6/lib/X11\" -I/usr/X11R6/include -DCSRG_BASED -DXUSE_MTSAF= E_API -DXNO_MTSAFE_PWDAPI -O -pipe -O -pipe -W -march=3Dpentiumpro -Wall -W= no-unused -Wno-comment -c ColorS.c -fPIC -DPIC -o .libs/ColorS.lo >=20 > Do you see a specific case where this breaks? OK, that looks fine. I didn't see LIBDIR being set in the port makefile or patches, so I assumed that the configure script wouldn't set it to a different default value than that used in the source. Kris --liOOAslEiF7prFVr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/EnjGWry0BWjoQKURAmmuAKCh9PjQwSesffGYIXig0fg8pIhpNACaA2Kr 5QfSs013Rjb72HElEpfhD8g= =OBed -----END PGP SIGNATURE----- --liOOAslEiF7prFVr--