pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/47868: www/libproxy does not compile on Solaris 10
The following reply was made to PR pkg/47868; it has been noted by GNATS.
From: =?ISO-8859-1?Q?J=F6rn_Clausen?= <joern.clausen%uni-bielefeld.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: Thomas Klausner <wiz%NetBSD.org@localhost>,
pkg-manager%NetBSD.org@localhost,
gnats-admin%NetBSD.org@localhost, pkgsrc-bugs%NetBSD.org@localhost
Subject: Re: pkg/47868: www/libproxy does not compile on Solaris 10
Date: Fri, 31 May 2013 09:28:43 +0200
On 29.05.13 23:50, Thomas Klausner wrote:
> Can you fix this by using
> CMAKE_ARGS+= -DCMAKE_EXE_LINKER_FLAGS:STRING="-lnsl -lsocket"
> in the pkgsrc Makefile (or something similar)?
I tried providing this via environment variable, but that got overwritten...
With this change, technically the package builds (with the ugly fix for
the other problem). But: Without the patch, this is the definition found
in CMakeCache.txt:
CMAKE_EXE_LINKER_FLAGS:STRING= -L/usr/lib -Wl,-R/usr/lib
-Wl,-R/usr/pkgsrc/20130422/lib
With the change, this is the definition:
CMAKE_EXE_LINKER_FLAGS:STRING=-lnsl -lsocket
Luckily, libproxy.so does not seem to need any other library from
pkgsrc, otherwise the run time linker would have a hard time finding it.
So maybe in this case this is a fix, but it is not a general solution
that would work in other situations.
--
Jörn Clausen
joern.clausen%uni-bielefeld.de@localhost
Hochschulrechenzentrum http://www.uni-bielefeld.de/hrz/
Universität Bielefeld
Home |
Main Index |
Thread Index |
Old Index