Date: Fri, 16 Jul 2004 17:14:12 +0400 (MSD) From: Konstantin Oznobihin <bork@rsu.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/69147: [patch] devel/omniORB installs .pc files in $(prefix)/lib Message-ID: <200407161314.i6GDEC2j072337@rocky.cc.rsu.ru> Resent-Message-ID: <200407161320.i6GDKLB6018511@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 69147 >Category: ports >Synopsis: [patch] devel/omniORB installs .pc files in $(prefix)/lib >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jul 16 13:20:21 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Konstantin Oznobihin >Release: FreeBSD 5.2.1-RELEASE-p9 i386 >Organization: Rostov State University >Environment: System: FreeBSD .cc.rsu.ru 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #0: Fri Jul 2 20:10:08 MSD 2004 :/usr/obj/usr/src/sys/athlon-xp.HEAD.2004-06-08 i386 >Description: 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. >How-To-Repeat: cd /usr/ports/devel/omniORB make install pkg-config omniORB4 >Fix: Changed contrib/pkgconfig/GNUmakefile.in to use libdata (patch should be placed in devel/omniORB/files) and fixed devel/omniORB/pkg-plist accordingly --- patch-contrib::pkgconfig::GNUmakefile.in begins here --- --- contrib/pkgconfig/GNUmakefile.in.orig Fri Jul 16 15:33:32 2004 +++ contrib/pkgconfig/GNUmakefile.in Fri Jul 16 15:33:53 2004 @@ -4,7 +4,7 @@ VPATH=@srcdir@ INSTALL=@INSTALL@ -INSTALLDIR = $(INSTALLLIBDIR)/pkgconfig +INSTALLDIR = @prefix@/libdata/pkgconfig PKGFILES = omnithread3.pc omniORB4.pc omniDynamic4.pc \ omniCOS4.pc omniCOSDynamic4.pc --- patch-contrib::pkgconfig::GNUmakefile.in ends here --- --- patch-pkg-plist begins here --- --- pkg-plist.orig Fri Jul 16 16:17:15 2004 +++ pkg-plist Fri Jul 16 16:17:24 2004 @@ -191,11 +191,11 @@ lib/libomnithread.so lib/libomnithread.so.3 lib/libomnithread.so.3.0 -lib/pkgconfig/omniCOS4.pc -lib/pkgconfig/omniCOSDynamic4.pc -lib/pkgconfig/omniDynamic4.pc -lib/pkgconfig/omniORB4.pc -lib/pkgconfig/omnithread3.pc +libdata/pkgconfig/omniCOS4.pc +libdata/pkgconfig/omniCOSDynamic4.pc +libdata/pkgconfig/omniDynamic4.pc +libdata/pkgconfig/omniORB4.pc +libdata/pkgconfig/omnithread3.pc %%PYTHON_SITELIBDIR%%/_omniidlmodule.so %%PYTHON_SITELIBDIR%%/_omniidlmodule.so.1 %%PYTHON_SITELIBDIR%%/_omniidlmodule.so.1.0 @@ -402,7 +402,7 @@ @dirrm share/omniORB/idl/COS @dirrm share/omniORB/idl @dirrm share/omniORB -@dirrm lib/pkgconfig +@dirrm libdata/pkgconfig %%PORTDOCS%%@dirrm %%DOCSDIR%%/tex %%PORTDOCS%%@dirrm %%DOCSDIR%%/omniORB %%PORTDOCS%%@dirrm %%DOCSDIR%% --- patch-pkg-plist ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407161314.i6GDEC2j072337>