1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

- 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. [1]
- Respect CFLAGS.
- Pass maintainership to submitter. [1]

PR:		ports/93984 [1]
Submitted by:	Frank Laszlo <laszlof@vonostingroup.com> [1]
This commit is contained in:
Andrey Slusar 2006-04-13 11:16:32 +00:00
parent f1131e8acd
commit 64fde1bd6c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=159416
2 changed files with 16 additions and 2 deletions

View File

@ -8,15 +8,18 @@
PORTNAME= lambdamoo
PORTVERSION= 1.8.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

View File

@ -0,0 +1,11 @@
--- Makefile.in.orig Thu Apr 13 13:54:19 2006
+++ Makefile.in Thu Apr 13 13:54:25 2006
@@ -17,7 +17,7 @@
LIBRARIES = @LIBS@
YACC = @YACC@
-CFLAGS = -O
+CFLAGS?= -O
# If you're using GCC, you may prefer:
# CFLAGS = -O2 -finline-functions
#