From jhein@timing.com  Sun Mar  1 03:45:37 2009
Return-Path: <jhein@timing.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id DCA1F1065672
	for <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>; 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 <jhein@timing.com>
Reply-To: John Hein <jhein@timing.com>
To: FreeBSD-gnats-submit@freebsd.org
Subject: lang/guile port broken if automake110 installed
X-Send-Pr-Version: 3.113
X-GNATS-Notify: amatus@gnu.org

>Number:         132212
>Category:       ports
>Synopsis:       lang/guile port broken if automake110 installed
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 01 03:50:01 UTC 2009
>Closed-Date:    Fri Mar 13 20:30:22 UTC 2009
>Last-Modified:  Fri Mar 13 20:30:22 UTC 2009
>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 <prefix>/lib instead
of <prefix>/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:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Sun Mar 1 03:50:11 UTC 2009 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=132212 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: amatus@gnu.org
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/132212: lang/guile port broken if automake110 installed
Date: Sun, 1 Mar 2009 03:50:09 UT

 Maintainer of lang/guile,
 
 Please note that PR ports/132212 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/132212
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org

From: Amatus <c11h15no2@yahoo.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/132212: lang/guile port broken if automake110 installed
Date: Sun, 1 Mar 2009 17:05:30 -0800 (PST)

 Looks good
 
 
 --- On Sat, 2/28/09, Edwin Groothuis <edwin@FreeBSD.org> wrote:
 
 > From: Edwin Groothuis <edwin@FreeBSD.org>
 > Subject: Re: ports/132212: lang/guile port broken if automake110 installed
 > To: amatus@gnu.org
 > Cc: bug-followup@FreeBSD.org
 > Date: Saturday, February 28, 2009, 9:50 PM
 > Maintainer of lang/guile,
 > 
 > Please note that PR ports/132212 has just been submitted.
 > 
 > If it contains a patch for an upgrade, an enhancement or a
 > bug fix
 > you agree on, reply to this email stating that you approve
 > the patch
 > and a committer will take care of it.
 > 
 > The full text of the PR can be found at:
 >     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/132212
 > 
 > -- 
 > Edwin Groothuis via the GNATS Auto Assign Tool
 > edwin@FreeBSD.org
 
 
       

From: John Hein <jhein@timing.com>
To: bug-followup@FreeBSD.org, jhein@timing.com
Cc: freebsd-ports-bugs@FreeBSD.org
Subject: Re: ports/132212: lang/guile port broken if automake110 installed
Date: Sun, 1 Mar 2009 18:34:22 -0700

 I meant to say that I had contacted the maintainer (amatus@gnu.org)
 with this on Feb 22.  But there has been no response.

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/132212: commit references a PR
Date: Fri, 13 Mar 2009 19:52:24 +0000 (UTC)

 stas        2009-03-13 19:52:09 UTC
 
   FreeBSD ports repository
 
   Added files:
     lang/guile/files     patch-Makefile.am 
   Log:
   - Use correct pkgconfig files dir.
   
   PR:             ports/132212
   Submitted by:   John Hein <jhein@timing.com>
   Approved by:    Amatus <c11h15no2@yahoo.com> (maintainer)
   
   Revision  Changes    Path
   1.1       +11 -0     ports/lang/guile/files/patch-Makefile.am (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: feedback->closed 
State-Changed-By: stas 
State-Changed-When: Fri Mar 13 20:30:21 UTC 2009 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=132212 
>Unformatted:
