pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/shells/zsh
Module Name: pkgsrc
Committed By: minskim
Date: Wed Oct 10 17:21:55 UTC 2018
Modified Files:
pkgsrc/shells/zsh: Makefile
Log Message:
shells/zsh: Fix PLIST on Darwin with no /usr/include
To generate a diff of this commit:
cvs rdiff -u -r1.87 -r1.88 pkgsrc/shells/zsh/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/shells/zsh/Makefile
diff -u pkgsrc/shells/zsh/Makefile:1.87 pkgsrc/shells/zsh/Makefile:1.88
--- pkgsrc/shells/zsh/Makefile:1.87 Sat Sep 15 13:40:34 2018
+++ pkgsrc/shells/zsh/Makefile Wed Oct 10 17:21:55 2018
@@ -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 @@ INSTALLATION_DIRS+= share/doc/zsh
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