Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jul 2003 02:52:57 +0100
From:      lewiz <purple@lewiz.info>
To:        Joshua Oreman <oremanj@www.get-linux.org>
Cc:        ports@freebsd.org
Subject:   Re: ld and libraries troubles (newbie).
Message-ID:  <20030708015257.GA24382@lewiz.org>
In-Reply-To: <20030708005521.GA18650@lewiz.org>
References:  <20030708004340.GB18537@lewiz.org> <20030708005147.GC40769@webserver.get-linux.org> <20030708005521.GA18650@lewiz.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--pWyiEgJYm5f9v55/
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Jul 08, 2003 at 01:55:21AM +0100, lewiz wrote:
> > Add -L/usr/local/lib to the link line in the Makefile. Make a patch
> > to do this.
>=20
> Is that the only way to solve this issue?  I was expecting there to be
> some option for the port Makefile?

Sorry, after extensive searching I've solved my own question.  I have
added the following to the port Makefile:

ONFIGURE_ENV=3D  LDFLAGS=3D"-L${LOCALBASE}/lib"

This does what I required.  I'm just gonna try and track down the other
issue now, but I hope I am slowly getting the hang of this...

  Thanks for the help,

-lewiz.

--=20
Kerr's Three Rules for a Successful College:
	Have plenty of football for the alumni, sex for the students,
and parking for the faculty.
------------------------------------------------------------------------
-| msn:purple@lewiz.net | jab:lewiz@jabber.org | url:http://lewiz.net |-

--pWyiEgJYm5f9v55/
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE/CiP5Itq0KFQv7T8RAt2iAKDDfhVxidrq7PeG+AwLz6GDGZnfeACggQk7
SGSF+0C5D8bDPGRNGFAS+U0=
=JSQe
-----END PGP SIGNATURE-----

--pWyiEgJYm5f9v55/--



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