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:   triaxx
Date:           Fri Oct 20 06:22:24 UTC 2017

Modified Files:
        pkgsrc/devel/flex: Makefile

Log Message:
Add workaround for fixing build on Linux

See https://github.com/westes/flex/issues/241
The problem is fixed in master branch and the workaround could be removed
in the next version update.


To generate a diff of this commit:
cvs rdiff -u -r1.60 -r1.61 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.60 pkgsrc/devel/flex/Makefile:1.61
--- pkgsrc/devel/flex/Makefile:1.60     Mon Jul 24 14:34:49 2017
+++ pkgsrc/devel/flex/Makefile  Fri Oct 20 06:22:24 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.60 2017/07/24 14:34:49 maya Exp $
+# $NetBSD: Makefile,v 1.61 2017/10/20 06:22:24 triaxx Exp $
 
 DISTNAME=      flex-2.6.4
 CATEGORIES=    devel lang
@@ -32,6 +32,9 @@ LDFLAGS.SCO_SV+=      -lsocket
 # https://github.com/westes/flex/issues/219
 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



Home | Main Index | Thread Index | Old Index