Bug 96782

Summary: [PATCH] print/magicfilter: link against correct libmagic on 5.x
Product: Ports & Packages Reporter: Rong-En Fan <rafan>
Component: Individual Port(s)Assignee: CHOI Junho <cjh>
Status: Closed FIXED    
Severity: Affects Only Me CC: cjh
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
magicfilter-2.3.h_1.patch none

Description Rong-En Fan 2006-05-04 17:40:12 UTC
On 5.x, we have libmagic.so.1 in the base. This is the same name as
the on sysutils/file installs. When linking, it will use the sysutils/file's
due to we added -L. However, for run-time, we have to specify -rpath for
ld(1), so magicfilter can find the correct libmagic.so.1.

Since we require ports's libmagic when build, make it as build dependency,
also for run dependency. Remove the LIB_DEPENDS on libmagic.so.1, it
will somehow conflict with the base's.

Bump PORTREVISION, so users on 5.x can have a correct linked magicfilter.

Port maintainer (cjh@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.76
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-05-04 17:44:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->cjh

Over to maintainer
Comment 2 CHOI Junho freebsd_committer freebsd_triage 2006-05-08 11:38:48 UTC
State Changed
From-To: open->closed

Committed. Thanks!