pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/shells/zsh shells/zsh: Fix PLIST on Darwin with no /us...
details: https://anonhg.NetBSD.org/pkgsrc/rev/cbbbf1a8d1e2
branches: trunk
changeset: 324181:cbbbf1a8d1e2
user: minskim <minskim%pkgsrc.org@localhost>
date: Wed Oct 10 17:21:55 2018 +0000
description:
shells/zsh: Fix PLIST on Darwin with no /usr/include
diffstat:
shells/zsh/Makefile | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r ca3c759e64d9 -r cbbbf1a8d1e2 shells/zsh/Makefile
--- a/shells/zsh/Makefile Wed Oct 10 15:41:41 2018 +0000
+++ b/shells/zsh/Makefile Wed Oct 10 17:21:55 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.87 2018/09/15 13:40:34 wen Exp $
+# $NetBSD: Makefile,v 1.88 2018/10/10 17:21:55 minskim Exp $
DISTNAME= zsh-5.6.2
CATEGORIES= shells
@@ -44,7 +44,8 @@
PLIST_VARS+= xattr
.if exists(/usr/include/sys/xattr.h) || \
- exists(/usr/include/${NATIVE_MACHINE_GNU_ARCH}-${LOWER_OPSYS}-gnu/sys/xattr.h)
+ exists(/usr/include/${NATIVE_MACHINE_GNU_ARCH}-${LOWER_OPSYS}-gnu/sys/xattr.h) || \
+ defined(OSX_SDK_PATH) && exists(${OSX_SDK_PATH}/usr/include/sys/xattr.h)
PLIST.xattr= yes
.endif
PRINT_PLIST_AWK+= {if ($$0 ~ /attr.so/) {$$0 = "$${PLIST.xattr}" $$0;}}
Home |
Main Index |
Thread Index |
Old Index