pkgsrc-Changes archive

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

CVS commit: pkgsrc/mk



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Fri Jan 14 14:46:51 UTC 2022

Modified Files:
        pkgsrc/mk/features: features.mk
        pkgsrc/mk/platform: Darwin.mk

Log Message:
For macOS, getline(3) arrived sometime after 10.6 -- guessing 10.7 like
strnlen(3). Make libnbcompat's implementation available to packages via
USE_FEATURES=getline.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/mk/features/features.mk
cvs rdiff -u -r1.111 -r1.112 pkgsrc/mk/platform/Darwin.mk

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

Modified files:

Index: pkgsrc/mk/features/features.mk
diff -u pkgsrc/mk/features/features.mk:1.9 pkgsrc/mk/features/features.mk:1.10
--- pkgsrc/mk/features/features.mk:1.9  Mon Jul  8 22:09:22 2019
+++ pkgsrc/mk/features/features.mk      Fri Jan 14 14:46:50 2022
@@ -1,4 +1,4 @@
-# $NetBSD: features.mk,v 1.9 2019/07/08 22:09:22 sevan Exp $
+# $NetBSD: features.mk,v 1.10 2022/01/14 14:46:50 schmonz Exp $
 #
 # This file is included by bsd.pkg.mk.
 #
@@ -36,7 +36,7 @@ LIBS+=                        ${FEATURE_LIBS}
 # libnbcompat provides many of the current features.
 #
 _FEATURE_USE_NBCOMPAT?=        no
-.  for f in asprintf cdefs err fts_close fts_open fts_read fts_set getopt_long glob nbcompat regcomp setenv snprintf strnlen utimes vsnprintf warn
+.  for f in asprintf cdefs err fts_close fts_open fts_read fts_set getline getopt_long glob nbcompat regcomp setenv snprintf strnlen utimes vsnprintf warn
 .    if !empty(MISSING_FEATURES:M${f})
 _FEATURE_USE_NBCOMPAT= yes
 .    endif

Index: pkgsrc/mk/platform/Darwin.mk
diff -u pkgsrc/mk/platform/Darwin.mk:1.111 pkgsrc/mk/platform/Darwin.mk:1.112
--- pkgsrc/mk/platform/Darwin.mk:1.111  Thu Dec  2 09:44:03 2021
+++ pkgsrc/mk/platform/Darwin.mk        Fri Jan 14 14:46:51 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Darwin.mk,v 1.111 2021/12/02 09:44:03 jperkin Exp $
+# $NetBSD: Darwin.mk,v 1.112 2022/01/14 14:46:51 schmonz Exp $
 #
 # Variable definitions for the Darwin operating system.
 
@@ -253,7 +253,7 @@ MAKE_ENV+=  MACOSX_DEPLOYMENT_TARGET="10.
 CONFIGURE_ENV+=                gl_cv_func_getcwd_abort_bug=no
 .endif
 
-# strnlen(3) is available from Lion onwards
+# strnlen(3) and getline(3) are available from Lion onwards
 .if ${OPSYS_VERSION} < 100700
-_OPSYS_MISSING_FEATURES+=      strnlen
+_OPSYS_MISSING_FEATURES+=      strnlen getline
 .endif



Home | Main Index | Thread Index | Old Index