Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Jul 2004 18:48:23 +0400 (MSD)
From:      Konstantin Oznobihin <bork@rsu.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/69192: [patch] x11-toolkits/gtkmathview installs .pc files in $(X11BASE)/lib
Message-ID:  <200407171448.i6HEmNE9023835@rocky.cc.rsu.ru>
Resent-Message-ID: <200407171500.i6HF0aGI051115@freefall.freebsd.org>

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

>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
-@unexec rmdir %D/lib/pkgconfig 2>/dev/null || true
+@unexec rmdir %D/libdata/pkgconfig 2>/dev/null || true
--- 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?200407171448.i6HEmNE9023835>