NetBSD Problem Report #14032

Received: (qmail 15344 invoked from network); 21 Sep 2001 10:55:15 -0000
Message-Id: <200109211055.f8LAt7q20486@bandsept.script.jussieu.fr>
Date: Fri, 21 Sep 2001 12:55:07 +0200 (CEST)
From: Stoned Elipot <seb@script.jussieu.fr>
Reply-To: seb@script.jussieu.fr
To: gnats-bugs@gnats.netbsd.org
Cc: seb@pbox.org
Subject: pkgsrc/shells/zsh PLIST tuning for Zoularis
X-Send-Pr-Version: 3.95

>Number:         14032
>Category:       pkg
>Synopsis:       pkgsrc/shells/zsh PLIST tuning for Zoularis
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 21 10:56:00 +0000 2001
>Closed-Date:    Sun Sep 23 21:27:38 +0000 2001
>Last-Modified:  Sun Sep 23 21:27:38 +0000 2001
>Originator:     Stoned Elipot
>Release:        pkgsrc-current
>Organization:
SCRIPT, Paris VII University, France
>Environment:
System: SunOS tzolkin 5.8 Generic_108528-06 sun4u sparc SUNW,Ultra-5_10

>Description:
${LOCALBASE}/lib/zsh/libzsh-4.0.2.so does not seems to be installed
on Solaris. I cannot find why... If anyone has any insight on how zsh
modules are build/installed I'd be delighted to here about that.
>How-To-Repeat:
Build and install zsh pkg on Solaris/Zoularis and look for 
${LOCALBASE}/lib/zsh/libzsh-4.0.2.so
>Fix:

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/shells/zsh/Makefile,v
retrieving revision 1.23
diff -u -r1.23 Makefile
--- Makefile	2001/07/23 18:23:44	1.23
+++ Makefile	2001/09/21 10:50:05
@@ -24,7 +24,12 @@
 CONFIGURE_ARGS+=--disable-dynamic
 LDFLAGS+=	-static
 .else
+.if ${OPSYS} == "SunOS"
+ZSHLIB_INSTALLED=	'@comment '
+.endif
+ZSHLIB_INSTALLED?=	''
 PLIST_SRC+=	${PKGDIR}/PLIST.dynamic
+PLIST_SUBST+=	ZSHLIB_INSTALLED=${ZSHLIB_INSTALLED}
 .endif

 post-install:
Index: pkg/PLIST.dynamic
===================================================================
RCS file: /cvsroot/pkgsrc/shells/zsh/pkg/PLIST.dynamic,v
retrieving revision 1.2
diff -u -r1.2 PLIST.dynamic
--- PLIST.dynamic	2001/07/23 18:23:45	1.2
+++ PLIST.dynamic	2001/09/21 10:50:05
@@ -1,5 +1,5 @@
 @comment $NetBSD: PLIST.dynamic,v 1.2 2001/07/23 18:23:45 nra Exp $
-lib/zsh/libzsh-4.0.2.so
+${ZSHLIB_INSTALLED}lib/zsh/libzsh-4.0.2.so
 lib/zsh/4.0.2/zsh/rlimits.so
 lib/zsh/4.0.2/zsh/sched.so
 lib/zsh/4.0.2/zsh/cap.so
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: tron 
State-Changed-When: Sun Sep 23 14:27:12 PDT 2001 
State-Changed-Why:  
I fixed this bug in a few other in "zsh" package under SunOS. Thanks for 
the report. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.