Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Feb 2009 15:10:28 +0100
From:      Guido Falsi <mad@madpilot.net>
To:        freebsd-ports@freebsd.org, freebsd-bluetooth@freebsd.org
Subject:   ports using sdp when mpeg4ip is installed
Message-ID:  <20090218141028.GB48065@megatron.madpilot.net>

next in thread | raw e-mail | index | archive | help
Hello,

I maintain a few ports, between those there are gnokii and the ports
package for obexapp, written by Maksim.

I already had to deal with the problem in the subject some time ago
(PR ports/108428) and now that gnokii has sdp support PR ports/131778
has correctly been filed.

As exlained in the PRs the problem is mpeg4ip is installing an sdp.h
file and an libsdp.so library in /usr/local/(include|lib), which
are preferred by the ports systems(especially the autotools) on the
system ones breaking software build.

The solution is doing jumps through hoops to make autotools and
other pieces behave, hardcoding base system paths or the like. I
could not find better ways. Whth gnokii right now I'm having big
problems making libtool behave. I could try patching the system
wide one to manage this situation, but I don't really understand
it's internals, if anyone could point me in the right direction
here that would be very appreciated.

We could just fix the includes problem by moving one of the two
sdp.h files in a subdirectory of include, but the libraries problem
would remain.

How should I act? Doing the hoop jumping is not a big problem to me, but in
the future with more programs taking advantage of bluetooth/sdp
functionality this problem will be even more frequent, and I don't think
fixing every single case by hand to be a good solution.

Could we try to find a system or ports wide solution?

Sorry for the lenghty email, but I wanted to explain the situation
fully.

BTW should I also send a resume of this email to gnats for historic
purposes?

Thanks in advance for any help, opinions, revision or also confort on
this.

-- 
Guido Falsi <mad@madpilot.net>



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