Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 May 2018 12:48:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 228551] sysutils/restic: fails to install without bash and zsh option
Message-ID:  <bug-228551-7788-uvol2DQGJD@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-228551-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-228551-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228551

Tobias Kortkamp <tobik@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tobik@freebsd.org

--- Comment #2 from Tobias Kortkamp <tobik@freebsd.org> ---
(In reply to w.schwarzenfeld from comment #1)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MZSH}
+PLIST_SUB+=3D    ZSH=3D""
+.else
+PLIST_SUB+=3D    ZSH=3D"@comment "
+.endif
+
+.if ${PORT_OPTIONS:MBASH}
+PLIST_SUB+=3D    BASH=3D""
+.else
+PLIST_SUB+=3D    BASH=3D"@comment "
+.endif
+

This is basically what OPTIONS_SUB=3Dyes already does just more verbose and=
 it's
not necessary.

But what we IMHO really should do here is remove the BASH and ZSH options
and always install the completion files like we recommend in the Porter's
Handbook.

https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/shell-co=
mpletion.html

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-228551-7788-uvol2DQGJD>