pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/shells/zsh Forgot to add options.mk to previous commit.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a41a9b8973b8
branches:  trunk
changeset: 362323:a41a9b8973b8
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu May 11 13:54:27 2017 +0000

description:
Forgot to add options.mk to previous commit.

diffstat:

 shells/zsh/options.mk |  14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diffs (18 lines):

diff -r 8aac24884839 -r a41a9b8973b8 shells/zsh/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/shells/zsh/options.mk     Thu May 11 13:54:27 2017 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: options.mk,v 1.1 2017/05/11 13:54:27 jperkin Exp $
+
+PKG_OPTIONS_VAR=               PKG_OPTIONS.zsh
+PKG_SUPPORTED_OPTIONS=         static
+
+.include "../../mk/bsd.options.mk"
+
+PLIST_VARS+=           dynamic
+.if !empty(PKG_OPTIONS:Mstatic)
+CONFIGURE_ARGS+=       --disable-dynamic
+LDFLAGS+=              -static
+.else
+PLIST.dynamic=         yes
+.endif



Home | Main Index | Thread Index | Old Index