pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/libthrift Override configure check for the flex ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fca1ce03bc3e
branches:  trunk
changeset: 601495:fca1ce03bc3e
user:      hans <hans%pkgsrc.org@localhost>
date:      Wed Mar 21 18:40:00 2012 +0000

description:
Override configure check for the flex library.

This package would normally use bison-yacc and flex, but the files it
needs come pre-generated in the distfile. So flex and bison-yacc aren't
actually used, and linking against the library can cause the build to
fail with unresolved symbols.

diffstat:

 devel/libthrift/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r d553e42cf6d3 -r fca1ce03bc3e devel/libthrift/Makefile
--- a/devel/libthrift/Makefile  Wed Mar 21 18:37:43 2012 +0000
+++ b/devel/libthrift/Makefile  Wed Mar 21 18:40:00 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2012/03/09 14:31:07 fhajny Exp $
+# $NetBSD: Makefile,v 1.16 2012/03/21 18:40:00 hans Exp $
 
 DISTNAME=      thrift-${THRIFT_VERSION}
 PKGNAME=       libthrift-${THRIFT_VERSION}
@@ -21,6 +21,7 @@
 USE_PKGLOCALEDIR=      yes
 USE_TOOLS+=            gmake pkg-config
 GNU_CONFIGURE=         yes
+CONFIGURE_ENV+=                LEXLIB=""
 
 WRKSRC=                ${WRKDIR}/thrift-${THRIFT_VERSION}
 THRIFT_VERSION=        0.7.0



Home | Main Index | Thread Index | Old Index