pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/bison



Module Name:    pkgsrc
Committed By:   brook
Date:           Tue Jul  5 00:15:09 UTC 2022

Modified Files:
        pkgsrc/devel/bison: options.mk

Log Message:
devel/bison: do not suggest nls option on Darwin

The previous commit message included the following comment:

    TODO: avoid suggesting nls on macOS/x86_64 versions where bison
    will crash.

Additionally, options.mk contains a comment suggesting the crash only
occurs for versions less than or equal to approximately 11.6.  This
commit adds conditionals to options.mk to suggest the nls option only
when crashes are not expected.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/bison/options.mk

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

Modified files:

Index: pkgsrc/devel/bison/options.mk
diff -u pkgsrc/devel/bison/options.mk:1.5 pkgsrc/devel/bison/options.mk:1.6
--- pkgsrc/devel/bison/options.mk:1.5   Sat Oct 30 07:46:10 2021
+++ pkgsrc/devel/bison/options.mk       Tue Jul  5 00:15:09 2022
@@ -1,10 +1,14 @@
-# $NetBSD: options.mk,v 1.5 2021/10/30 07:46:10 schmonz Exp $
+# $NetBSD: options.mk,v 1.6 2022/07/05 00:15:09 brook Exp $
+
+.include "../../mk/bsd.prefs.mk"
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.bison
 PKG_SUPPORTED_OPTIONS= nls
-# TODO: avoid suggesting nls on macOS/x86_64 versions where bison will crash
+# avoid suggesting nls on macOS/x86_64 versions where bison will crash
 # schmonz reports 11.6 crashes, earlier likely doesn't, 12.0.1 doesn't
+.if ${OPSYS} != Darwin || (${OPSYS} == Darwin && ${OPSYS_VERSION} > 110600)
 PKG_SUGGESTED_OPTIONS=  nls
+.endif
 
 PLIST_VARS+=           nls
 



Home | Main Index | Thread Index | Old Index