ports/69192: [patch] x11-toolkits/gtkmathview installs .pc files in $(X11BASE)/lib

Konstantin Oznobihin bork at rsu.ru
Sat Jul 17 15:00:36 UTC 2004


>Number:         69192
>Category:       ports
>Synopsis:       [patch] x11-toolkits/gtkmathview installs .pc files in $(X11BASE)/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:   Sat Jul 17 15:00:35 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:
	x11-toolkits/gtkmathview installs it's .pc files in $(X11BASE)/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/x11-toolkits/gtkmathview
	make install
	pkg-config gtkmathview
>Fix:
	Added gnomehack to USE_GNOME in x11-toolkits/gtkmathview/Makefile and changed
	x11-toolkits/gtkmathview/pkg-plist accordingly

--- patch-Makefile begins here ---
--- Makefile.orig       Sat Jul 17 18:22:36 2004
+++ Makefile    Sat Jul 17 17:59:23 2004
@@ -23,7 +23,7 @@
 USE_REINPLACE= yes
 USE_GETOPT_LONG=       yes
 USE_X_PREFIX=  yes
-USE_GNOME=     glib20 gtk20
+USE_GNOME=     glib20 gtk20 gnomehack
 USE_LIBTOOL_VER=13
 CPPFLAGS=      -I${LOCALBASE}/include -DHAVE_DECL_GETOPT
 LDFLAGS=       -L${LOCALBASE}/lib
--- patch-Makefile ends here ---

--- patch-pkg-plist begins here ---
--- pkg-plist.orig      Sat Jul 17 18:22:44 2004
+++ pkg-plist   Sat Jul 17 18:13:37 2004
@@ -8,7 +8,7 @@
 lib/libgtkmathview.la
 lib/libgtkmathview.so
 lib/libgtkmathview.so.5
-lib/pkgconfig/gtkmathview.pc
+libdata/pkgconfig/gtkmathview.pc
 share/gtkmathview/dictionary-combining.xml
 share/gtkmathview/dictionary-local.xml
 share/gtkmathview/dictionary.dtd
@@ -27,4 +27,4 @@
 share/gtkmathview/math-engine-configuration.xml
 share/gtkmathview/t1.config
 @dirrm share/gtkmathview
- at unexec rmdir %D/lib/pkgconfig 2>/dev/null || true
+ at unexec rmdir %D/libdata/pkgconfig 2>/dev/null || true
--- patch-pkg-plist ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list