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: Tue Dec 12 23:57:29 UTC 2017
Modified Files:
pkgsrc/shells/zsh: Makefile
Log Message:
shells/zsh: Add a directory to search for xattr.h
This change makes shells/zsh build on Ubuntu Linux.
To generate a diff of this commit:
cvs rdiff -u -r1.81 -r1.82 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.81 pkgsrc/shells/zsh/Makefile:1.82
--- pkgsrc/shells/zsh/Makefile:1.81 Fri Oct 13 09:35:19 2017
+++ pkgsrc/shells/zsh/Makefile Tue Dec 12 23:57:29 2017
@@ -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 @@ CONFIGURE_ENV.NetBSD+= zsh_cv_sys_dynami
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