pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/flex



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Tue Sep  8 11:21:17 UTC 2020

Modified Files:
        pkgsrc/devel/flex: Makefile

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 pkgsrc/devel/flex/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/flex/Makefile
diff -u pkgsrc/devel/flex/Makefile:1.61 pkgsrc/devel/flex/Makefile:1.62
--- pkgsrc/devel/flex/Makefile:1.61     Fri Oct 20 06:22:24 2017
+++ pkgsrc/devel/flex/Makefile  Tue Sep  8 11:21:17 2020
@@ -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_reallo
 # 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