libpdf

またまた久しぶりにFreeBSDのアプリをバージョンアップしてました.
gnuplotを入れようとすると

# pkg_add -r gnuplot
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.1-release/Latest/gnuplot.tbz... Done.
Error: FTP Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.1-release/All/pdflib-6.0.3.tbz: File unavailable (e.g., file not found, no access)
pkg_add: can't open dependency file '/var/db/pkg/pdflib-6.0.3/+REQUIRED_BY'!
dependency registration is incomplete

ん?じゃ,pdflibportsから...

# cd /usr/ports/print/pdflib
# make
PDFlib-Lite-6.0.3.tar.gz 100% of 3675 kB 98 kBps 00m00s
===> Extracting for pdflib-6.0.3
=> MD5 Checksum OK for PDFlib-Lite-6.0.3.tar.gz.
=> SHA256 Checksum OK for PDFlib-Lite-6.0.3.tar.gz.
===> Patching for pdflib-6.0.3
===> Applying FreeBSD patches for pdflib-6.0.3
Ignoring previously applied (or reversed) patch.
3 out of 3 hunks ignored--saving rejects to libs/tiff/tif_dirread.c.rej
=> Patch patch-libs::tiff::tif_dirread.c failed to apply cleanly.

Error code 1

Stop in /usr/ports/print/pdflib.

ん〜...
http://www.pdflib.com/products/pdflib/download-source.html
を見ても,バージョンは同じ6.0.3のようなので,もうパッチは無視して

# cd /usr/ports/print/pdflib/work/PDFlib-Lite-6.0.3/
# ./configure; make ; make install

ん,何のエラーも出なかったので,気を取り直して...

# pkg_add -r gnuplot
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.1-release/Latest/gnuplot.tbz... Done.

# gnuplot

G N U P L O T
Version 4.0 patchlevel 0
last modified Thu Apr 15 14:44:22 CEST 2004
System: FreeBSD 6.1-RELEASE
(中略)
Terminal type set to 'x11'
gnuplot>

いけました.(^-^)