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: Add a directory to search for x...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f1e6edee1a05
branches: trunk
changeset: 372635:f1e6edee1a05
user: minskim <minskim%pkgsrc.org@localhost>
date: Tue Dec 12 23:57:29 2017 +0000
description:
shells/zsh: Add a directory to search for xattr.h
This change makes shells/zsh build on Ubuntu Linux.
diffstat:
shells/zsh/Makefile | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r caa871b039ef -r f1e6edee1a05 shells/zsh/Makefile
--- a/shells/zsh/Makefile Tue Dec 12 20:56:09 2017 +0000
+++ b/shells/zsh/Makefile Tue Dec 12 23:57:29 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.81 2017/10/13 09:35:19 jperkin Exp $
+# $NetBSD: Makefile,v 1.82 2017/12/12 23:57:29 minskim Exp $
DISTNAME= zsh-5.4.2
CATEGORIES= shells
@@ -43,7 +43,8 @@
INSTALLATION_DIRS+= share/doc/zsh
PLIST_VARS+= xattr
-.if exists(/usr/include/sys/xattr.h)
+.if exists(/usr/include/sys/xattr.h) || \
+ exists(/usr/include/${NATIVE_MACHINE_GNU_ARCH}-${LOWER_OPSYS}-gnu/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