ports/109593: unbreak quagga installation for FreeBSD 5.x and earlier

Eugene Grosbein eugen at grosbein.pp.ru
Tue Feb 27 08:50:14 UTC 2007


>Number:         109593
>Category:       ports
>Synopsis:       unbreak quagga installation for FreeBSD 5.x and earlier
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 27 08:50:10 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Eugene Grosbein
>Release:        FreeBSD 4.11-STABLE i386
>Organization:
Svyaz Service JSC
>Environment:
System: FreeBSD www.svzserv.kemerovo.su 4.11-STABLE FreeBSD 4.11-STABLE #20: Mon Nov 27 13:23:00 KRAT 2006 eu at www.svzserv.kemerovo.su:/home4/obj/home/src/sys/WWW i386

>Description:
	quagga runs makeinfo during 'install' stage.
	FreeBSD 6.0 and later have texinfo 4.8 that runs Ok
	but earlier versions have texinfo 4.6 that breaks on quagga.texi
	and interrupts installation of port.

>How-To-Repeat:
	Try to install quagga port using FreeBSD 4.11 or FreeBSD 5.x
	(I have to admit that I did not test 5.x ;-)

>Fix:

	Early versions have to build and use newer texinfo package.

--- Makefile.orig	Thu Feb  1 20:25:05 2007
+++ Makefile	Tue Feb 27 15:36:11 2007
@@ -122,6 +122,11 @@
 CFLAGS+=	-DQUAGGA_TCP_MD5SIG
 .endif
 
+.if ${OSVERSION} < 500000
+BUILD_DEPENDS+=${LOCALBASE}/bin/makeinfo:${PORTSDIR}/print/texinfo
+CONFIGURE_ENV+=MAKEINFO=${LOCALBASE}/bin/makeinfo
+.endif
+
 USE_RC_SUBR=	watchquagga.sh
 .if ${OSVERSION} < 500000 || ${OSVERSION} >= 600101
 USE_RC_SUBR+=	quagga.sh



Eugene Grosbein
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list