pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/coreutils coreutils: Report uname -o as "illu...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0b4db18e80e4
branches:  trunk
changeset: 333238:0b4db18e80e4
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu May 02 15:31:16 2019 +0000

description:
coreutils: Report uname -o as "illumos" where appropriate.

Fixes joyent/pkgsrc#195.  Bump PKGREVISION.

diffstat:

 sysutils/coreutils/Makefile        |  4 ++--
 sysutils/coreutils/Makefile.common |  7 ++++++-
 2 files changed, 8 insertions(+), 3 deletions(-)

diffs (33 lines):

diff -r 70b9a5d24ae5 -r 0b4db18e80e4 sysutils/coreutils/Makefile
--- a/sysutils/coreutils/Makefile       Thu May 02 13:46:45 2019 +0000
+++ b/sysutils/coreutils/Makefile       Thu May 02 15:31:16 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.73 2018/08/22 09:46:33 wiz Exp $
+# $NetBSD: Makefile,v 1.74 2019/05/02 15:31:16 jperkin Exp $
 
-PKGREVISION= 1
+PKGREVISION= 2
 .include "../../sysutils/coreutils/Makefile.common"
 
 CONFIGURE_ARGS+=       --without-gmp
diff -r 70b9a5d24ae5 -r 0b4db18e80e4 sysutils/coreutils/Makefile.common
--- a/sysutils/coreutils/Makefile.common        Thu May 02 13:46:45 2019 +0000
+++ b/sysutils/coreutils/Makefile.common        Thu May 02 15:31:16 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.18 2018/05/09 08:41:19 wen Exp $
+# $NetBSD: Makefile.common,v 1.19 2019/05/02 15:31:16 jperkin Exp $
 #
 # used by sysutils/coreutils/Makefile
 # used by misc/gnuls/Makefile
@@ -55,6 +55,11 @@
 # Explicitly disable inotify support whilst it is Linux-specific.
 CONFIGURE_ENV.SunOS+=  ac_cv_func_inotify_init=no
 
+# Identify Solaris vs illumos where appropriate
+.if ${OPSYS} == "SunOS" && ${OS_VARIANT} != "Solaris"
+CONFIGURE_ENV+=                gl_cv_host_operating_system=illumos
+.endif
+
 .if !empty(MACHINE_PLATFORM:MDarwin-[9].*-*)
 CONFIGURE_ENV+=                ac_cv_header_sys_acl_h=no jm_cv_func_svid_putenv=yes
 .endif



Home | Main Index | Thread Index | Old Index