[MacPorts] #18287: lesstif: possibly undefined macro: LT_HAVE_FREETYPE
#18287: lesstif: possibly undefined macro: LT_HAVE_FREETYPE -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: lesstif -------------------------------------+-------------------------------------- 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. -- Ticket URL: <http://trac.macports.org/ticket/18287> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18287: lesstif: possibly undefined macro: LT_HAVE_FREETYPE -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: jeremyhu@… Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: libtool | Port: lesstif -------------------------------------+-------------------------------------- Changes (by jeremyhu@…): * cc: jeremyhu@… (added) * keywords: => libtool * status: new => assigned Comment: 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... -- Ticket URL: <http://trac.macports.org/ticket/18287#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18287: lesstif: possibly undefined macro: LT_HAVE_FREETYPE -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: jeremyhu@… Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: libtool | Port: lesstif -------------------------------------+-------------------------------------- Comment(by jeremyhu@…): Can you try the attached patch -- Ticket URL: <http://trac.macports.org/ticket/18287#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18287: lesstif: possibly undefined macro: LT_HAVE_FREETYPE -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: jeremyhu@… Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: libtool | Port: lesstif -------------------------------------+-------------------------------------- Comment(by ryandesign@…): 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 }}} -- Ticket URL: <http://trac.macports.org/ticket/18287#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18287: lesstif: possibly undefined macro: LT_HAVE_FREETYPE --------------------------------------+------------------------------------- Reporter: ryandesign@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Resolution: fixed | Keywords: libtool Port: lesstif | --------------------------------------+------------------------------------- Changes (by jeremyhu@…): * status: assigned => closed * resolution: => fixed Comment: Fixed in r46268 -- Ticket URL: <http://trac.macports.org/ticket/18287#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts