pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/platform Report that SunOS 5.10 and older don't hav...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/12860074eaaa
branches:  trunk
changeset: 648801:12860074eaaa
user:      tron <tron%pkgsrc.org@localhost>
date:      Thu Mar 19 19:15:23 2015 +0000

description:
Report that SunOS 5.10 and older don't have "err.h".

Change during freeze approved by Jonathan Perkin.

diffstat:

 mk/platform/SunOS.mk |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r a1df29c81c56 -r 12860074eaaa mk/platform/SunOS.mk
--- a/mk/platform/SunOS.mk      Thu Mar 19 19:14:48 2015 +0000
+++ b/mk/platform/SunOS.mk      Thu Mar 19 19:15:23 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: SunOS.mk,v 1.62 2014/09/10 15:59:33 jperkin Exp $
+# $NetBSD: SunOS.mk,v 1.63 2015/03/19 19:15:23 tron Exp $
 #
 # Variable definitions for the SunOS/Solaris operating system.
 
@@ -68,6 +68,9 @@
 _OPSYS_PTHREAD_AUTO=   no              # -lpthread needed for pthreads
 _OPSYS_SHLIB_TYPE=     ELF             # shared lib type
 _OPSYS_MISSING_FEATURES=asprintf
+.if !exists(/usr/include/err.h)
+_OPSYS_MISSING_FEATURES+=err
+.endif
 _PATCH_CAN_BACKUP=     yes             # native patch(1) can make backups
 _PATCH_BACKUP_ARG?=    -b -V simple -z # switch to patch(1) for backup suffix
 _USE_RPATH=            yes             # add rpath to LDFLAGS



Home | Main Index | Thread Index | Old Index