Bug 69147 - [patch] devel/omniORB installs .pc files in $(prefix)/lib
Summary: [patch] devel/omniORB installs .pc files in $(prefix)/lib
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Sergey Matveychuk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-16 14:20 UTC by Konstantin Oznobihin
Modified: 2004-07-17 21:31 UTC (History)
0 users

See Also:


Attachments
patch-contrib::pkgconfig::GNUmakefile.in (372 bytes, text/plain)
2004-07-16 14:20 UTC, Konstantin Oznobihin
no flags Details
file.diff (918 bytes, patch)
2004-07-16 14:20 UTC, Konstantin Oznobihin
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin Oznobihin 2004-07-16 14:20:21 UTC
	devel/omniORB installs it's .pc files in $(prefix)/lib, while FreeBSD
	hierarchy rules says that such files should go into libdata. pkgconfig
	was changed to comply with these rules so it can not find .pc files which does
	not reside in libdata.

Fix: Changed contrib/pkgconfig/GNUmakefile.in to use libdata (patch should be
	placed in devel/omniORB/files) and fixed devel/omniORB/pkg-plist accordingly
How-To-Repeat: 	cd /usr/ports/devel/omniORB
	make install
	pkg-config omniORB4
Comment 1 Sergey Matveychuk freebsd_committer freebsd_triage 2004-07-16 20:52:41 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sem

My port.
Comment 2 Sergey Matveychuk freebsd_committer freebsd_triage 2004-07-16 21:25:32 UTC
State Changed
From-To: open->feedback

Can't reproduse it. 
All files placed accordently to pkg-plist. 
Check it again or give more info.
Comment 3 Konstantin Oznobihin 2004-07-17 14:56:55 UTC
> Synopsis: [patch] devel/omniORB installs .pc files in $(prefix)/lib
> 
> State-Changed-From-To: open->feedback
> State-Changed-By: sem
> State-Changed-When: Fri Jul 16 20:25:32 GMT 2004
> State-Changed-Why: 
> Can't reproduse it.

Not sure why pkg-config was able to find omniORB, perhaps you've set
PKG_CONFIG_PATH or PKG_CONFIG_LIBDIR variables to lib/pkgconfig. If this
is the case, try to run "pkg-config omniORB4" without them.

> All files placed accordently to pkg-plist.

Yes, they are placed accordingly to pkg-plist, but lib/pkgconfig is
wrong location for .pc files according to hier(7). Because of that,
devel/pkgconfig was patched so under FreeBSD it doesn't search for .pc
files in $(prefix)/lib/pkgconfig, instead it checks
$(prefix)/libdata/pkgconfig.

-- 
Konstantin Oznobihin <bork@rsu.ru>
Systems programmer and administrator
Computer Center of Rostov State University.
Comment 4 Sergey Matveychuk freebsd_committer freebsd_triage 2004-07-17 18:14:52 UTC
OK. I see new what I miss.

-- 
Sem.
Comment 5 Sergey Matveychuk freebsd_committer freebsd_triage 2004-07-17 18:15:29 UTC
new=now

-- 
Sem.
Comment 6 Sergey Matveychuk freebsd_committer freebsd_triage 2004-07-17 21:31:16 UTC
State Changed
From-To: feedback->closed

Committed, thanks!