pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/shells/zsh Don't create a statically linked "zsh" bina...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f64fa1670412
branches: trunk
changeset: 479681:f64fa1670412
user: tron <tron%pkgsrc.org@localhost>
date: Fri Aug 20 10:36:12 2004 +0000
description:
Don't create a statically linked "zsh" binary on NetBSD system which have
dynamic library support on the root partition (e.g. 2.0 and newer). It is
enough that the "zsh" binary does *not* depend on its own shared libraries
which won't be on the root partition and we get a shell with proper I18N
support this way. Approved by Masao Uebayashi.
diffstat:
shells/zsh/Makefile.common | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r a2d6fb298081 -r f64fa1670412 shells/zsh/Makefile.common
--- a/shells/zsh/Makefile.common Fri Aug 20 09:14:19 2004 +0000
+++ b/shells/zsh/Makefile.common Fri Aug 20 10:36:12 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.13 2004/08/16 16:17:39 recht Exp $
+# $NetBSD: Makefile.common,v 1.14 2004/08/20 10:36:12 tron Exp $
DISTNAME= zsh-${ZSH_VERSION}
CATEGORIES= shells
@@ -29,7 +29,10 @@
.if defined(ZSH_STATIC) && !empty(ZSH_STATIC:M[Yy][Ee][Ss])
CONFIGURE_ARGS+=--disable-dynamic
+
+. if !(${OPSYS} == "NetBSD" && exists(/libexec/ld.elf_so))
LDFLAGS+= -static
+. endif
.else
. if ${OPSYS} == "SunOS"
PLIST_SRC= ${PKGDIR}/PLIST.dynamic ${PKGDIR}/PLIST
Home |
Main Index |
Thread Index |
Old Index