[Midnightbsd-cvs] mports: Makefile: Fix insane bug where $() subsitution was broken when

ctriv at midnightbsd.org ctriv at midnightbsd.org
Tue Apr 7 18:03:03 EDT 2009


Log Message:
-----------
Fix insane bug where $() subsitution was broken when bash was compiled with
yacc.  No, I am not making this up.  Compile with bison now.

Modified Files:
--------------
    mports/shells/bash:
        Makefile (r1.11 -> r1.12)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/shells/bash/Makefile,v
retrieving revision 1.11
retrieving revision 1.12
diff -L shells/bash/Makefile -L shells/bash/Makefile -u -r1.11 -r1.12
--- shells/bash/Makefile
+++ shells/bash/Makefile
@@ -3,6 +3,7 @@
 PORTNAME=		bash
 PATCHLEVEL=		10
 PORTVERSION=		4.0.${PATCHLEVEL:S/^0//g}
+PORTREVISION=		1
 CATEGORIES=		shells
 MASTER_SITES=		${MASTER_SITE_GNU:S/$/:bash/} \
 			ftp://ftp.cwru.edu/pub/%SUBDIR%/:faq
@@ -31,6 +32,8 @@
 		HELP		 "Install builtin help." On \
 		HELPFILES        "Install descrete helpfiles." On
 
+USE_BISON=	build
+
 .include <bsd.port.pre.mk>
 
 
@@ -88,8 +91,7 @@
 LDFLAGS+=		-L${LOCALBASE}/lib
 
 CONFIGURE_ENV=		CPPFLAGS="${CPPFLAGS}" \
-			LDFLAGS="${LDFLAGS}" \
-			YACC="${YACC}"
+			LDFLAGS="${LDFLAGS}" 
 
 post-patch:
 	@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/doc/bash.1


More information about the Midnightbsd-cvs mailing list