Date: Thu, 21 Feb 2002 19:37:12 -0800 (PST) From: John Merryweather Cooper <john_m_cooper@yahoo.com> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/35197: [PATCH] fix "auto-crash" build failure on print/lyx Message-ID: <200202220337.g1M3bCX73681@johncoop.MSHOME>
next in thread | raw e-mail | index | archive | help
>Number: 35197 >Category: ports >Synopsis: [PATCH] fix "auto-crash" build failure on print/lyx >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Feb 21 19:40:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: John Merryweather Cooper >Release: FreeBSD 4.5-STABLE i386 >Organization: >Environment: System: FreeBSD johncoop.MSHOME 4.5-STABLE FreeBSD 4.5-STABLE #70: Thu Feb 21 11:12:24 PST 2002 jmcoopr@johncoop.MSHOME:/usr/obj/usr/src/sys/JOHNCOOP i386 >Description: print/lyx is not autoconf-2.52x ready, so it needs autoconf-2.13. But, if you have both autoconf's installed, print/lyx will try to use the later version--resulting in the build failing. >How-To-Repeat: attempt to build without this patch to the Makefile >Fix: The fix. The only file modified is the top level Makefile. --- patch-lyx-Makefile.txt begins here --- --- Makefile.orig Tue Jan 22 18:42:28 2002 +++ Makefile Thu Feb 21 09:43:45 2002 @@ -2,7 +2,7 @@ # Date created: Sa 12 Okt 1996 19:20:51 MET DST # Whom: Andreas Klemm <andreas@klemm.gtn.com> # -# $FreeBSD: ports/print/lyx/Makefile,v 1.58 2002/01/22 12:44:39 dirk Exp $ +# $FreeBSD$ # PORTNAME= lyx @@ -29,7 +29,7 @@ intl.1:${PORTSDIR}/devel/gettext USE_GMAKE= yes -USE_AUTOCONF= yes +USE_AUTOCONF_VER= 213 USE_XPM= yes USE_NEWGCC= yes USE_PERL5= yes @@ -47,5 +47,11 @@ post-patch: (cd ${WRKSRC}; ${TOUCH} Makefile.in */Makefile.in src/config.h.in) (cd ${WRKSRC}/lib/doc; ${RM} -f *.orig) + +pre-build: + @${PERL} -pi -e 's|autoheader|${AUTOHEADER}|g' \ + ${WRKSRC}/src/Makefile + @${PERL} -pi -e 's|autoconf|${AUTOCONF}|g' \ + ${WRKSRC}/lib/reLyX/Makefile .include <bsd.port.mk> --- patch-lyx-Makefile.txt ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202220337.g1M3bCX73681>