pkgsrc-Changes archive

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

CVS commit: [pkgsrc-2017Q3] pkgsrc/devel/flex



Module Name:    pkgsrc
Committed By:   bsiegert
Date:           Mon Nov  6 19:01:45 UTC 2017

Modified Files:
        pkgsrc/devel/flex [pkgsrc-2017Q3]: Makefile

Log Message:
Pullup ticket #5605 - requested by sevan
devel/flex: Linux build fix

Revisions pulled up:
- devel/flex/Makefile                                           1.61

---
   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.60.4.1 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.60.4.1
--- pkgsrc/devel/flex/Makefile:1.60     Mon Jul 24 14:34:49 2017
+++ pkgsrc/devel/flex/Makefile  Mon Nov  6 19:01:44 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.60 2017/07/24 14:34:49 maya Exp $
+# $NetBSD: Makefile,v 1.60.4.1 2017/11/06 19:01:44 bsiegert 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