summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorfhajny <fhajny@pkgsrc.org>2017-05-19 15:27:58 +0000
committerfhajny <fhajny@pkgsrc.org>2017-05-19 15:27:58 +0000
commitfc3b728e73fca6439930f18dfc3207e92684eef1 (patch)
tree88773cf5056c7972dbe21223fb7ed0f8ecdda94e /shells
parent82801942c47d1393defa5db3713316dad0fc5e27 (diff)
downloadpkgsrc-fc3b728e73fca6439930f18dfc3207e92684eef1.tar.gz
Fix installation on Darwin.
Diffstat (limited to 'shells')
-rw-r--r--shells/fish/Makefile8
-rw-r--r--shells/fish/PLIST4
2 files changed, 9 insertions, 3 deletions
diff --git a/shells/fish/Makefile b/shells/fish/Makefile
index 2be81bff726..8d9686b443a 100644
--- a/shells/fish/Makefile
+++ b/shells/fish/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2017/05/15 13:46:47 jperkin Exp $
+# $NetBSD: Makefile,v 1.10 2017/05/19 15:27:58 fhajny Exp $
FISHVER= 2.5.0
DISTNAME= fish-${FISHVER}
@@ -37,6 +37,12 @@ CXXFLAGS.NetBSD+= -fpermissive
LDFLAGS+= -lexecinfo
.endif
+# Upstream intentionally omits open.1 on Darwin
+PLIST_VARS+= open
+.if ${OPSYS} != "Darwin"
+PLIST.open= yes
+.endif
+
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../mk/curses.buildlink3.mk"
diff --git a/shells/fish/PLIST b/shells/fish/PLIST
index 23c17a50634..6bb651bc88f 100644
--- a/shells/fish/PLIST
+++ b/shells/fish/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2017/05/13 01:19:05 wen Exp $
+@comment $NetBSD: PLIST,v 1.4 2017/05/19 15:27:58 fhajny Exp $
bin/fish
bin/fish_indent
bin/fish_key_reader
@@ -794,7 +794,7 @@ share/fish/man/man1/jobs.1
share/fish/man/man1/math.1
share/fish/man/man1/nextd.1
share/fish/man/man1/not.1
-share/fish/man/man1/open.1
+${PLIST.open}share/fish/man/man1/open.1
share/fish/man/man1/or.1
share/fish/man/man1/popd.1
share/fish/man/man1/prevd.1