Date: Wed, 01 Mar 2006 09:49:02 -0500 From: Frank Laszlo <laszlof@vonostingroup.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/93984: [PATCH]: net/lambdamoo: Fix build issue on 6.x. Message-ID: <E1FESdS-0009eG-JL@ritamari.vonostingroup.com> Resent-Message-ID: <200603011450.k21Eo6J3061528@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 93984 >Category: ports >Synopsis: [PATCH]: net/lambdamoo: Fix build issue on 6.x. >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: Wed Mar 01 14:50:04 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Frank Laszlo >Release: FreeBSD 6.0-STABLE i386 >Organization: >Environment: System: FreeBSD ritamari.vonostingroup.com 6.0-STABLE FreeBSD 6.0-STABLE #0: Mon Nov 7 12:06:15 EST 2005 laszlof@ritamari.vonostingroup.com:/usr/obj/usr/src/sys/RITAMARI i386 >Description: This patch will fix net/lambamoo to build on 6.x. The problem exists when the configure script sets YACC in the Makefile. It sets it to "YACC= bison -y" on 6.x systems. For one reason or another this does not work. Where as on 4.x systems, it sets "YACC= byacc" which works fine. I set YACC=${YACC} in CONFIGURE_ENV to fix this problem. I also added the dependency for bison (USE_BISON) as well as adding MASTER_SITE_SOURCEFORGE into the MASTER_SITES. This has been tested on 6.0, 6.1, and 4.11. It builds and runs as expected. I will take over maintainership. >How-To-Repeat: >Fix: --- lambdamoo-1.8.1_1.diff begins here --- diff -NrU3 lambdamoo.orig/Makefile lambdamoo/Makefile --- lambdamoo.orig/Makefile Wed Mar 1 09:14:05 2006 +++ lambdamoo/Makefile Wed Mar 1 09:43:44 2006 @@ -7,16 +7,20 @@ PORTNAME= lambdamoo PORTVERSION= 1.8.1 +PORTREVISION= 1 CATEGORIES= net -MASTER_SITES= http://download.sourceforge.net/lambdamoo/ +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} DISTNAME= LambdaMOO-${PORTVERSION} -MAINTAINER= ports@FreeBSD.ORG +MAINTAINER= laszlof@vonostingroup.com COMMENT= The most commonly used program to run MOOs WRKSRC= ${WRKDIR}/MOO-${PORTVERSION} GNU_CONFIGURE= yes ALL_TARGET= +CONFIGURE_ENV= YACC=${YACC} +USE_BISON= yes do-install: @${INSTALL_PROGRAM} ${WRKSRC}/moo ${PREFIX}/sbin --- lambdamoo-1.8.1_1.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1FESdS-0009eG-JL>