Bug 68210 - [PATCH] print/xdvik-tetex: Fix broken t1lib detection
Summary: [PATCH] print/xdvik-tetex: Fix broken t1lib detection
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: Hiroki Sato
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-22 21:20 UTC by Ulrich Spoerlein
Modified: 2004-08-18 10:19 UTC (History)
1 user (show)

See Also:


Attachments
xdvik-tetex-22.78_2.patch (808 bytes, patch)
2004-06-22 21:20 UTC, Ulrich Spoerlein
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Spoerlein 2004-06-22 21:20:17 UTC
Ports configure script doesn't find t1lib [1]:
 checking where the main texmf tree is located... /usr/local/share/texmf
 checking for T1_AddFont in -lt1... yes
 checking whether installed T1 lib is >= v 1.3.1 ... no, will compile my own version

consequently, it doesn't link with t1lib:
% ldd `which xdvi.bin`
/usr/local/bin/xdvi.bin:
        libXaw.so.7 => /usr/X11R6/lib/libXaw.so.7 (0x2810e000)
        libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x2815f000)
        libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x28173000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x281bb000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x281c3000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x281d8000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x281e5000)
        libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x2829f000)
        libm.so.2 => /lib/libm.so.2 (0x282ac000)
        libc.so.5 => /lib/libc.so.5 (0x282c5000)


Add -I/usr/local/include to CFLAGS to make configure happy:

 checking where the main texmf tree is located... /usr/local/share/texmf
 checking for T1_AddFont in -lt1... (cached) yes
 checking whether installed T1 lib is >= v 1.3.1 ... yes

% ldd work/xdvik-22.78/texk/xdvik/xdvi-xaw.bin
work/xdvik-22.78/texk/xdvik/xdvi-xaw.bin:
        libt1.so.5 => /usr/local/lib/libt1.so.5 (0x280fe000)
        libXaw.so.7 => /usr/X11R6/lib/libXaw.so.7 (0x2814a000)
        libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x2819b000)
        libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x281af000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x281f7000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x281ff000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x28214000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x28221000)
        libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x282db000)
        libm.so.2 => /lib/libm.so.2 (0x282e8000)
        libc.so.5 => /lib/libc.so.5 (0x28301000)


[1] http://pointyhat.freebsd.org/errorlogs/i386-5-latest-logs/xdvik-tetex-22.78_1.log
Port maintainer (hrs@FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.50
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2004-06-23 03:18:03 UTC
Responsible Changed
From-To: freebsd-ports-bugs->hrs

Over to maintainer.
Comment 2 Tobias Roth 2004-08-18 08:15:12 UTC
patch has been applied, pr is still open. please close it.

cheers, t.
Comment 3 Tobias Roth 2004-08-18 08:46:54 UTC
[resend - originally sent to wrong gnats adress]

patch has been applied, pr is still open. please close it.

cheers, t.
Comment 4 Hiroki Sato freebsd_committer freebsd_triage 2004-08-18 10:17:41 UTC
State Changed
From-To: open->closed

Sorry for the delay.  Thanks!