1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

- Use proper NO_SHARED knob instead of obsoleted NOSHARED

PR:		ports/108327
Submitted by:	Josh Carroll (floyd AT pflog DOT net)
This commit is contained in:
Sergei Kolobov 2007-03-21 17:36:19 +00:00
parent 3c59371e69
commit 8d6718db8f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=187916

View File

@ -6,7 +6,7 @@
#
# The following compile-time options are available:
# NOSHARED=yes compile a static version of zsh
# NO_SHARED=yes compile a static version of zsh
# (default: use dynamically loadable modules)
# WITHOUT_ZSH_MEM=yes disable zsh-mem and zsh-secure-free options
# (default: on)
@ -75,7 +75,7 @@ CONFIGURE_ARGS+= --enable-zsh-mem --enable-zsh-secure-free
CONFIGURE_ARGS+= --enable-maildir-support
.endif
.if defined(NOSHARED)
.if defined(NO_SHARED)
CONFIGURE_ENV= LDFLAGS="${LDFLAGS} -static"
CONFIGURE_ARGS+= --disable-dynamic
PLIST_SUB+= NO_STATIC="@comment "