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

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

>Number:         69149
>Category:       ports
>Synopsis:       [patch] security/opensc 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:22 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:
	security/opensc 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/security/opensc
	make install
	pkg-config libopensc
>Fix:
	Changed src/libopensc/Makefile.in to use libdata (patch should be
        placed in security/opensc/files) and fixed security/opensc/pkg-plist
	accordingly.

--- patch-src::libopensc::Makefile.in begins here ---
--- src/libopensc/Makefile.in.orig      Fri Jul 16 15:55:13 2004
+++ src/libopensc/Makefile.in   Fri Jul 16 15:55:42 2004
@@ -163,7 +163,7 @@

 noinst_HEADERS = ctbcs.h internal.h

-pkgconfigdir = @libdir@/pkgconfig
+pkgconfigdir = @prefix@/libdata/pkgconfig
 pkgconfig_DATA = libopensc.pc   
 subdir = src/libopensc
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
--- patch-src::libopensc::Makefile.in ends here ---

--- patch-pkg-plist begins here ---
--- pkg-plist.orig      Fri Jul 16 16:19:09 2004
+++ pkg-plist   Fri Jul 16 16:18:56 2004
@@ -12,7 +12,7 @@
 lib/security/pam_opensc.so
 lib/security/pam_opensc.la
 lib/security/pam_opensc.a
-lib/pkgconfig/libopensc.pc
+libdata/pkgconfig/libopensc.pc
 lib/pkcs11/pkcs11-spy.so
 lib/pkcs11/pkcs11-spy.la
 lib/pkcs11/pkcs11-spy.a
--- 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.i6GDEEcc072441>