pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/37476: Expect not loadable from w/i tclsh/wish
>Number: 37476
>Category: pkg
>Synopsis: Patch so expect lib can be loaded into tclsh/wish
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Dec 04 11:55:00 +0000 2007
>Originator: bharder <bharder%methodlogic.net@localhost>
>Release: NetBSD 4.0_RC5
>Organization:
Method Digital Logic (http://www.methodlogic.net)
>Environment:
System: NetBSD manchester 4.0_RC5 NetBSD 4.0_RC5 (manchester) #14: Wed Nov 28
05:02:28 PST 2007 root@manchester:/usr/obj/sys/arch/i386/compile/manchester i386
Architecture: i386
Machine: i386
>Description:
"Expect" can be run as precompiled binary via "expect", but library
should also be loadable in tclsh/wish via "package require Expect"
>How-To-Repeat:
$ tclsh
% package require Expect
couldn't load file "/usr/pkg/lib/tcl/expect5.43/../../libexpect543.la":
/usr/pkg/lib/tcl/expect5.43/../../libexpect543.la: unrecognized file format
>Fix:
diff to apply against pkgsrc/lang/tcl-expect/patches/patch-ab:
--- ./patch-ab 2007-11-23 18:08:45.000000000 -0800
+++ ./patch.new 2007-11-23 18:08:02.000000000 -0800
@@ -6,4 +6,4 @@
# full path name of this file's directory.
-package ifneeded Expect @EXP_VERSION_FULL@ [list load [file join $dir ..
@EXP_SHARED_LIB_FILE@]]
-+package ifneeded Expect @EXP_VERSION_FULL@ [list load [file join $dir ../..
@EXP_SHARED_LIB_FILE@]]
++package ifneeded Expect @EXP_VERSION_FULL@ [list load [file join $dir ../..
libexpect@EXP_MAJOR_VERSION@@EXP_MINOR_VERSION@[info sharedlibextension]]]
Home |
Main Index |
Thread Index |
Old Index