ports/132212: lang/guile port broken if automake110 installed
John Hein
jhein at timing.com
Sun Mar 1 03:50:02 UTC 2009
>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:
More information about the freebsd-ports-bugs
mailing list