From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Mar 1 03:50:01 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CFCAA106566C for ; Sun, 1 Mar 2009 03:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A733A8FC0A for ; Sun, 1 Mar 2009 03:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n213o1in045826 for ; Sun, 1 Mar 2009 03:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n213o1Dq045825; Sun, 1 Mar 2009 03:50:01 GMT (envelope-from gnats) Resent-Date: Sun, 1 Mar 2009 03:50:01 GMT Resent-Message-Id: <200903010350.n213o1Dq045825@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, John Hein Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DCA1F1065672 for ; Sun, 1 Mar 2009 03:45:37 +0000 (UTC) (envelope-from jhein@timing.com) Received: from Daffy.timing.com (smtp.timing.com [206.168.13.218]) by mx1.freebsd.org (Postfix) with ESMTP id A7E3E8FC08 for ; Sun, 1 Mar 2009 03:45:37 +0000 (UTC) (envelope-from jhein@timing.com) Received: from bugs.timing.com (bugs.timing.com [206.168.13.186]) by Daffy.timing.com (8.13.1/8.13.1) with ESMTP id n213jakB041127; Sat, 28 Feb 2009 20:45:37 -0700 (MST) (envelope-from jhein@timing.com) Received: from bugs.timing.com (localhost [127.0.0.1]) by bugs.timing.com (8.14.3/8.14.1) with ESMTP id n213jaA3042167; Sat, 28 Feb 2009 20:45:36 -0700 (MST) (envelope-from jhein@bugs.timing.com) Received: (from jhein@localhost) by bugs.timing.com (8.14.3/8.14.3/Submit) id n213jaTi042165; Sat, 28 Feb 2009 20:45:36 -0700 (MST) (envelope-from jhein) Message-Id: <200903010345.n213jaTi042165@bugs.timing.com> Date: Sat, 28 Feb 2009 20:45:36 -0700 (MST) From: John Hein To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/132212: lang/guile port broken if automake110 installed X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John Hein List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Mar 2009 03:50:02 -0000 >Number: 132212 >Category: ports >Synopsis: lang/guile port broken if automake110 installed >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Mar 01 03:50:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: John Hein >Release: noticed on 6.x & 7.x >Organization: >Environment: >Description: If the automake110 port is installed before building guile it causes Makefile.in (and Makefile) in the guile working dir to get overwritten during the 'build' stage. This puts pkgconfigdir=$(libdir)/pkgconfig in Makefile instead of $(DESTDIR)$(prefix)/libdata/pkgconfig. This causes guile-1.8.pc to get installed to ${PREFIX}/lib (instead of the right place listed in pkg-plist). We could fix this by making sure the part that regenerates the Makefile.in does not get run or apply the same patch that was applied to Makefile.in (files/patch-Makefile.in). I have included a patch that does the latter... >How-To-Repeat: install devel/automake110 install lang/guile pkg_info -g -x guile Note incorrect location of guile-1.8.pc (in /lib instead of /libdata/pkgconfig) >Fix: use this patch in lang/guile ... Index: files/patch-Makefile.am =================================================================== RCS file: files/patch-Makefile.am diff -N files/patch-Makefile.am --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-Makefile.am 22 Feb 2009 22:47:35 -0000 @@ -0,0 +1,11 @@ +--- Makefile.am.orig 2008-12-08 10:42:52.000000000 -0700 ++++ Makefile.am 2009-02-22 15:46:17.000000000 -0700 +@@ -40,7 +40,7 @@ + + DISTCLEANFILES = check-guile.log + +-pkgconfigdir = $(libdir)/pkgconfig ++pkgconfigdir = $(DESTDIR)$(prefix)/libdata/pkgconfig + pkgconfig_DATA = guile-1.8.pc + + # Makefile.am ends here >Release-Note: >Audit-Trail: >Unformatted: