Date: Sat, 28 Feb 2009 20:45:36 -0700 (MST) From: John Hein <jhein@timing.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/132212: lang/guile port broken if automake110 installed Message-ID: <200903010345.n213jaTi042165@bugs.timing.com> Resent-Message-ID: <200903010350.n213o1Dq045825@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <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: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903010345.n213jaTi042165>