#18287 closed defect (fixed)
lesstif: possibly undefined macro: LT_HAVE_FREETYPE
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | jeremyhu (Jeremy Huddleston Sequoia) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.0 |
Keywords: | libtool | Cc: | lomion@…, george@…, jeremyhu (Jeremy Huddleston Sequoia) |
Port: | lesstif |
Description
As of r43746 I cannot upgrade lesstif; it says:
glibtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `.'. glibtoolize: copying file `./ltmain.sh' glibtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and glibtoolize: rerunning glibtoolize, to keep the correct libtool macros in-tree. glibtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. configure:20107: error: possibly undefined macro: LT_HAVE_FREETYPE If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure:20274: error: possibly undefined macro: LT_HAVE_XRENDER autoreconf: autoconf failed with exit status: 1
This is on a MacBook Pro with Mac OS X 10.5.6, Xcode 3.1.2, MacPorts 1.7.0.
Attachments (2)
Change History (8)
Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Attachment: | lesstif.txt added |
---|
comment:1 Changed 16 years ago by george@…
Cc: | george@… added |
---|
comment:2 Changed 16 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Cc: | jeremyhu@… added |
---|---|
Keywords: | libtool added |
Status: | new → assigned |
This seems to be related to a libtool bug:
http://bugs.gentoo.org/220599
Similarly fixed in openmotif by renaming the LT_* variables: http://bugs.motifzone.net/show_bug.cgi?id=1429 http://openmotif.cvs.sourceforge.net/openmotif/openmotif/ac_find_xft.m4?r1=1.5&r2=1.6
Changed 16 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Attachment: | lesstif.patch added |
---|
Portfile patch
comment:3 Changed 16 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Can you try the attached patch
comment:4 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Apparently single quotes are problematic in Tcl:
DEBUG: Executing org.macports.patch (lesstif) DEBUG: Executing proc-post-org.macports.patch-patch-0 DEBUG: sed: 1: "'s:LT_HAVE_FREETYPE:FIN ...": invalid command code ' while executing "exec /usr/bin/sed 's:LT_HAVE_FREETYPE:FINDXFT_HAVE_FREETYPE:g' < /mp/var/macports/build/_Users_rschmidt_macports_dports_x11_lesstif/work/lesstif-0.95...." ("eval" body line 1) invoked from within "eval exec $cmdline" Error: reinplace: sed: 1: "'s:LT_HAVE_FREETYPE:FIN ...": invalid command code ' Error: Target org.macports.patch returned: reinplace sed(1) failed Warning: the following items did not execute (for lesstif): org.macports.activate org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing.
Double quotes work fine though: I can install lesstif with either libtool 1.5.26 or 2.2.6a. Thanks.
Index: Portfile =================================================================== --- Portfile (revision 46107) +++ Portfile (working copy) @@ -37,6 +37,8 @@ post-patch { system "touch ${worksrcpath}/test/{NEWS,README,AUTHORS,ChangeLog,COPYING}" + reinplace "s:LT_HAVE_FREETYPE:FINDXFT_HAVE_FREETYPE:g" ${worksrcpath}/acinclude.m4 + reinplace "s:LT_HAVE_XRENDER:FINDXFT_HAVE_XRENDER:g" ${worksrcpath}/acinclude.m4 } use_autoreconf yes
comment:5 Changed 16 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed in r46268
Note: See
TracTickets for help on using
tickets.
Cc Me!