From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Jul 17 15:00:36 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 60BD816A4CE for ; Sat, 17 Jul 2004 15:00:36 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 55AFC43D4C for ; Sat, 17 Jul 2004 15:00:36 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i6HF0a5Z051119 for ; Sat, 17 Jul 2004 15:00:36 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i6HF0aGI051115; Sat, 17 Jul 2004 15:00:36 GMT (envelope-from gnats) Resent-Date: Sat, 17 Jul 2004 15:00:36 GMT Resent-Message-Id: <200407171500.i6HF0aGI051115@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Konstantin Oznobihin Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4342A16A4CE for ; Sat, 17 Jul 2004 14:53:05 +0000 (GMT) Received: from rocky.cc.rsu.ru (rocky.cc.rsu.ru [195.208.252.128]) by mx1.FreeBSD.org (Postfix) with ESMTP id E83E543D46 for ; Sat, 17 Jul 2004 14:53:03 +0000 (GMT) (envelope-from bork@rocky.cc.rsu.ru) Received: from rocky.cc.rsu.ru (localhost [127.0.0.1]) by rocky.cc.rsu.ru (8.12.10/8.12.10) with ESMTP id i6HEmO9U023836 for ; Sat, 17 Jul 2004 18:48:24 +0400 (MSD) (envelope-from bork@rocky.cc.rsu.ru) Received: (from root@localhost) by rocky.cc.rsu.ru (8.12.10/8.12.10/Submit) id i6HEmNE9023835; Sat, 17 Jul 2004 18:48:23 +0400 (MSD) (envelope-from bork) Message-Id: <200407171448.i6HEmNE9023835@rocky.cc.rsu.ru> Date: Sat, 17 Jul 2004 18:48:23 +0400 (MSD) From: Konstantin Oznobihin To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/69192: [patch] x11-toolkits/gtkmathview installs .pc files in $(X11BASE)/lib X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Konstantin Oznobihin List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Jul 2004 15:00:36 -0000 >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: