ld and libraries troubles (newbie).

lewiz purple at lewiz.info
Mon Jul 7 18:53:41 PDT 2003


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.
> 
> 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=  LDFLAGS="-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.

-- 
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 at lewiz.net | jab:lewiz at jabber.org | url:http://lewiz.net |-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20030708/4dc4b180/attachment.bin


More information about the freebsd-ports mailing list