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:   cheusov
Date:           Tue Apr 30 11:35:04 UTC 2024

Modified Files:
        pkgsrc/devel/flex: Makefile PLIST
Added Files:
        pkgsrc/devel/flex: options.mk

Log Message:
Add build option "nls" enabled by default


To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 pkgsrc/devel/flex/Makefile
cvs rdiff -u -r1.13 -r1.14 pkgsrc/devel/flex/PLIST
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/flex/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/flex/Makefile
diff -u pkgsrc/devel/flex/Makefile:1.64 pkgsrc/devel/flex/Makefile:1.65
--- pkgsrc/devel/flex/Makefile:1.64     Tue Jun  6 12:40:37 2023
+++ pkgsrc/devel/flex/Makefile  Tue Apr 30 11:35:04 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.64 2023/06/06 12:40:37 riastradh Exp $
+# $NetBSD: Makefile,v 1.65 2024/04/30 11:35:04 cheusov Exp $
 
 DISTNAME=      flex-2.6.4
 CATEGORIES=    devel lang
@@ -32,6 +32,8 @@ CFLAGS.AIX+=          -D_LINUX_SOURCE_COMPAT
 LDFLAGS.SCO_SV+=       -lsocket
 .endif
 
+.include "options.mk"
+
 # https://github.com/westes/flex/issues/219
 CONFIGURE_ENV.NetBSD+= ac_cv_func_reallocarray=no
 

Index: pkgsrc/devel/flex/PLIST
diff -u pkgsrc/devel/flex/PLIST:1.13 pkgsrc/devel/flex/PLIST:1.14
--- pkgsrc/devel/flex/PLIST:1.13        Sun Jan  1 13:53:16 2017
+++ pkgsrc/devel/flex/PLIST     Tue Apr 30 11:35:04 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.13 2017/01/01 13:53:16 wiz Exp $
+@comment $NetBSD: PLIST,v 1.14 2024/04/30 11:35:04 cheusov Exp $
 bin/flex
 bin/flex++
 include/FlexLexer.h
@@ -10,26 +10,26 @@ share/doc/flex/COPYING
 share/doc/flex/NEWS
 share/doc/flex/ONEWS
 share/doc/flex/README.md
-share/locale/ca/LC_MESSAGES/flex.mo
-share/locale/da/LC_MESSAGES/flex.mo
-share/locale/de/LC_MESSAGES/flex.mo
-share/locale/en@boldquot/LC_MESSAGES/flex.mo
-share/locale/en@quot/LC_MESSAGES/flex.mo
-share/locale/eo/LC_MESSAGES/flex.mo
-share/locale/es/LC_MESSAGES/flex.mo
-share/locale/fi/LC_MESSAGES/flex.mo
-share/locale/fr/LC_MESSAGES/flex.mo
-share/locale/ga/LC_MESSAGES/flex.mo
-share/locale/hr/LC_MESSAGES/flex.mo
-share/locale/ko/LC_MESSAGES/flex.mo
-share/locale/nl/LC_MESSAGES/flex.mo
-share/locale/pl/LC_MESSAGES/flex.mo
-share/locale/pt_BR/LC_MESSAGES/flex.mo
-share/locale/ro/LC_MESSAGES/flex.mo
-share/locale/ru/LC_MESSAGES/flex.mo
-share/locale/sr/LC_MESSAGES/flex.mo
-share/locale/sv/LC_MESSAGES/flex.mo
-share/locale/tr/LC_MESSAGES/flex.mo
-share/locale/vi/LC_MESSAGES/flex.mo
-share/locale/zh_CN/LC_MESSAGES/flex.mo
-share/locale/zh_TW/LC_MESSAGES/flex.mo
+${PLIST.nls}share/locale/ca/LC_MESSAGES/flex.mo
+${PLIST.nls}share/locale/da/LC_MESSAGES/flex.mo
+${PLIST.nls}share/locale/de/LC_MESSAGES/flex.mo
+${PLIST.nls}share/locale/en@boldquot/LC_MESSAGES/flex.mo
+${PLIST.nls}share/locale/en@quot/LC_MESSAGES/flex.mo
+${PLIST.nls}share/locale/eo/LC_MESSAGES/flex.mo
+${PLIST.nls}share/locale/es/LC_MESSAGES/flex.mo
+${PLIST.nls}share/locale/fi/LC_MESSAGES/flex.mo
+${PLIST.nls}share/locale/fr/LC_MESSAGES/flex.mo
+${PLIST.nls}share/locale/ga/LC_MESSAGES/flex.mo
+${PLIST.nls}share/locale/hr/LC_MESSAGES/flex.mo
+${PLIST.nls}share/locale/ko/LC_MESSAGES/flex.mo
+${PLIST.nls}share/locale/nl/LC_MESSAGES/flex.mo
+${PLIST.nls}share/locale/pl/LC_MESSAGES/flex.mo
+${PLIST.nls}share/locale/pt_BR/LC_MESSAGES/flex.mo
+${PLIST.nls}share/locale/ro/LC_MESSAGES/flex.mo
+${PLIST.nls}share/locale/ru/LC_MESSAGES/flex.mo
+${PLIST.nls}share/locale/sr/LC_MESSAGES/flex.mo
+${PLIST.nls}share/locale/sv/LC_MESSAGES/flex.mo
+${PLIST.nls}share/locale/tr/LC_MESSAGES/flex.mo
+${PLIST.nls}share/locale/vi/LC_MESSAGES/flex.mo
+${PLIST.nls}share/locale/zh_CN/LC_MESSAGES/flex.mo
+${PLIST.nls}share/locale/zh_TW/LC_MESSAGES/flex.mo

Added files:

Index: pkgsrc/devel/flex/options.mk
diff -u /dev/null pkgsrc/devel/flex/options.mk:1.1
--- /dev/null   Tue Apr 30 11:35:04 2024
+++ pkgsrc/devel/flex/options.mk        Tue Apr 30 11:35:04 2024
@@ -0,0 +1,15 @@
+# $NetBSD
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.flex
+PKG_SUPPORTED_OPTIONS= nls
+PKG_SUGGESTED_OPTIONS+=        nls
+PLIST_VARS+=           nls
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mnls)
+.include "../../devel/gettext-lib/buildlink3.mk"
+PLIST.nls=             yes
+.else
+CONFIGURE_ARGS+=       --disable-nls
+.endif



Home | Main Index | Thread Index | Old Index