summaryrefslogtreecommitdiff
path: root/devel/flex
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2020-09-08 11:21:17 +0000
committerjperkin <jperkin@pkgsrc.org>2020-09-08 11:21:17 +0000
commit98acaa1ceb783d8a8a56e23887cc42d1fd341f32 (patch)
tree7bee72f561d1d5b53fa9d675c8797063dc220e4a /devel/flex
parent197b9b5d24ce6cf76c3c67e0a2885fc6a836809f (diff)
downloadpkgsrc-98acaa1ceb783d8a8a56e23887cc42d1fd341f32.tar.gz
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 (limited to 'devel/flex')
-rw-r--r--devel/flex/Makefile12
1 files changed, 3 insertions, 9 deletions
diff --git a/devel/flex/Makefile b/devel/flex/Makefile
index c7c7363ae47..2734b01a3fc 100644
--- a/devel/flex/Makefile
+++ b/devel/flex/Makefile
@@ -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 @@ LICENSE= 2-clause-bsd
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 @@ CONFIGURE_ENV.NetBSD+= ac_cv_func_reallocarray=no
# 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"