Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jul 2004 17:14:13 +0400 (MSD)
From:      Konstantin Oznobihin <bork@rsu.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/69148: [patch] devel/pcsc-lite installs .pc files in $(prefix)/lib
Message-ID:  <200407161314.i6GDEDLF072389@rocky.cc.rsu.ru>
Resent-Message-ID: <200407161320.i6GDKLVK018524@freefall.freebsd.org>

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

>Number:         69148
>Category:       ports
>Synopsis:       [patch] devel/pcsc-lite 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/pcsc-lite 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/pcsc-lite
	make install
	pkg-config libpcsclite
>Fix:
	Added USE_GNOME=gnomehack to devel/pcsc-lite/Makefile and changed
	devel/pcsc-lite/pkg-plist accordingly

--- patch-Makefile begins here ---
--- Makefile.orig       Fri Jul 16 15:16:49 2004
+++ Makefile    Fri Jul 16 15:16:37 2004
@@ -17,6 +17,7 @@
 GNU_CONFIGURE= yes
 USE_GMAKE=     yes
 USE_INC_LIBTOOL_VER=   13
+USE_GNOME=     gnomehack

 INSTALLS_SHLIB=        yes
 CONFIGURE_ENV+=        PTHREAD_LIBS="${PTHREAD_LIBS}"
--- patch-Makefile ends here ---

--- patch-pkg-plist begins here ---
--- pkg-plist.orig      Fri Jul 16 16:18:11 2004
+++ pkg-plist   Fri Jul 16 16:18:24 2004
@@ -22,12 +22,12 @@
 lib/libmusclecard.a
 lib/libmusclecard.so
 lib/libmusclecard.so.0
-lib/pkgconfig/libpcsclite.pc
-lib/pkgconfig/libmusclecard.pc
+libdata/pkgconfig/libpcsclite.pc
+libdata/pkgconfig/libmusclecard.pc
 sbin/pcscd
 %%PORTDOCS%%@dirrm share/doc/pcsc-lite
 @dirrm share/examples/pcsc-lite
-@dirrm lib/pkgconfig
+@dirrm libdata/pkgconfig
 @dirrm pcsc/drivers
 @dirrm pcsc/services
 @dirrm pcsc
--- 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.i6GDEDLF072389>