Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/flex flex: Remove bash dependency.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8ee319e064a6
branches:  trunk
changeset: 438675:8ee319e064a6
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Tue Sep 08 11:21:17 2020 +0000

description:
flex: Remove bash dependency.

This was hidden behind a broken test section, and causing circular dependency
problems on some OS with bash -> bison -> flex -> bash.  The GNU make
requirement is still valid, but the test suite no longer requires bash.

Reported by Alver on IRC.

diffstat:

 devel/flex/Makefile |  12 +++---------
 1 files changed, 3 insertions(+), 9 deletions(-)

diffs (34 lines):

diff -r 314f847ad8eb -r 8ee319e064a6 devel/flex/Makefile
--- a/devel/flex/Makefile       Tue Sep 08 08:35:23 2020 +0000
+++ b/devel/flex/Makefile       Tue Sep 08 11:21:17 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.61 2017/10/20 06:22:24 triaxx Exp $
+# $NetBSD: Makefile,v 1.62 2020/09/08 11:21:17 jperkin Exp $
 
 DISTNAME=      flex-2.6.4
 CATEGORIES=    devel lang
@@ -12,9 +12,10 @@
 
 BUILD_DEPENDS+=                help2man-[0-9]*:../../converters/help2man
 
+USE_LANGUAGES=         c c++
 USE_LIBTOOL=           yes
 USE_PKGLOCALEDIR=      yes
-USE_TOOLS+=            gm4:run makeinfo gettext
+USE_TOOLS+=            gm4:run gmake makeinfo gettext
 GNU_CONFIGURE=         yes
 INFO_FILES=            yes
 
@@ -35,12 +36,5 @@
 # https://github.com/westes/flex/issues/241
 CFLAGS.Linux+=         -D_GNU_SOURCE
 
-#.if !empty(PKGSRC_RUN_TEST:M[Yy][Ee][Ss])
-USE_LANGUAGES=         c c++
-USE_TOOLS+=            bash:build
-REPLACE_BASH=          tests/testwrapper.sh tests/options.cn
-USE_TOOLS+=            gmake   # bmake has problems with the test suite
-#.endif
-
 .include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index