pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/37476: Expect not loadable from w/i tclsh/wish
The following reply was made to PR pkg/37476; it has been noted by GNATS.
From: Joerg Sonnenberger <joerg%britannica.bec.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/37476: Expect not loadable from w/i tclsh/wish
Date: Fri, 25 Jan 2008 16:20:10 +0100
On Tue, Dec 04, 2007 at 11:55:01AM +0000, bharder wrote:
> --- ./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]]]
>
This is not the correct approach.
Correct solution is to not patch the file at all, but extract dlname
from the .la file and substitue that in.
Joerg
Home |
Main Index |
Thread Index |
Old Index