Bug 101443 - [PATCH] science/kst: fix depends
Summary: [PATCH] science/kst: fix depends
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Rong-En Fan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-05 22:50 UTC by Stanislav Sedov
Modified: 2006-08-20 11:48 UTC (History)
1 user (show)

See Also:


Attachments
kst-1.2.1_1.patch (612 bytes, patch)
2006-08-05 22:50 UTC, Stanislav Sedov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stanislav Sedov 2006-08-05 22:50:21 UTC
 - Add readline as dependency when it was already installed. The program
   will be linked against it anyway, not against a system one.
 - Update icons cache

Copy of this message was sent to (kay_lehmann@web.de).
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-08-05 22:51:20 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback
Comment 2 Rong-En Fan freebsd_committer freebsd_triage 2006-08-06 11:55:52 UTC
Responsible Changed
From-To: freebsd-ports-bugs->rafan

Eat.
Comment 3 Rong-En Fan 2006-08-19 04:45:45 UTC
Hi all,

This is what I got on my 6.1-RELEASE system

$ ldd /usr/local/bin/kstcmd|grep readline
        libreadline.so.5 => /usr/local/lib/libreadline.so.5 (0x28c04000)

I have devel/readline installed. The reason is that configure uses
-L/usr/local/lib when searching libreadline. So, if devel/readline
is installed. it will uses that lib. And the shlib ver is 5 instead
of 6. So if one accidentally removes devel/readline afterwards,
kstcmd will fail.

Regards,
Rong-En Fan
Comment 4 Kay Lehmann 2006-08-20 11:15:30 UTC
Hello,

I think we should commit the patch, so dependencies are handled right on 
every system in every case. I will try to solve the problem in configure 
later, when I have some more time to do it. Maybe you can explain me, 
why you install devel/readline, when the system has a more recent 
version installed. Is there any functionality, which has been erased in 
the systems version?

Thanks and greets,
Kay

Rong-En Fan wrote:
> Hi all,
>
> This is what I got on my 6.1-RELEASE system
>
> $ ldd /usr/local/bin/kstcmd|grep readline
>         libreadline.so.5 => /usr/local/lib/libreadline.so.5 (0x28c04000)
>
> I have devel/readline installed. The reason is that configure uses
> -L/usr/local/lib when searching libreadline. So, if devel/readline
> is installed. it will uses that lib. And the shlib ver is 5 instead
> of 6. So if one accidentally removes devel/readline afterwards,
> kstcmd will fail.
>
> Regards,
> Rong-En Fan
>
>
Comment 5 Rong-En Fan freebsd_committer freebsd_triage 2006-08-20 11:48:12 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!