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
commit05dc1252ab33629c7f9ca8cb6d91f5b4dffc863d (patch)
tree71888ecaf27bd555a7a25f90e9be59ec9e68ac13 /shells
parent5eca2c2a9201d816a0551d9854a7a72cdf554333 (diff)
downloadpkgsrc-05dc1252ab33629c7f9ca8cb6d91f5b4dffc863d.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