summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authortron <tron>2015-03-19 19:15:23 +0000
committertron <tron>2015-03-19 19:15:23 +0000
commitc1c43c55a860a8fcfa7037f186a3ea4df597aa58 (patch)
tree796448a13a45471aeb9a0a4f479ad8d0c9a83cad /mk
parent6025927c3e6ed0013adce255546273dedfd5fe9b (diff)
downloadpkgsrc-c1c43c55a860a8fcfa7037f186a3ea4df597aa58.tar.gz
Report that SunOS 5.10 and older don't have "err.h".
Change during freeze approved by Jonathan Perkin.
Diffstat (limited to 'mk')
-rw-r--r--mk/platform/SunOS.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/platform/SunOS.mk b/mk/platform/SunOS.mk
index cb90740287a..b5f719ace4e 100644
--- a/mk/platform/SunOS.mk
+++ b/mk/platform/SunOS.mk
@@ -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_PERL_REQD= # no base version of perl required
_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