From dd32af68230e8b8257aceeb5e5591410ed6f0a98 Mon Sep 17 00:00:00 2001 From: dinoex Date: Tue, 2 Mar 2004 08:16:23 +0000 Subject: - Fix package for option WITHOUT_X11 --- devel/t1lib/Makefile | 2 ++ devel/t1lib/pkg-plist | 10 +++++----- 2 files changed, 7 insertions(+), 5 deletions(-) (limited to 'devel/t1lib') diff --git a/devel/t1lib/Makefile b/devel/t1lib/Makefile index 74d7fdf06914..06eaf06e05b0 100644 --- a/devel/t1lib/Makefile +++ b/devel/t1lib/Makefile @@ -22,8 +22,10 @@ INSTALLS_SHLIB= yes .if !defined(WITHOUT_X11) USE_XLIB= yes CONFIGURE_ARGS+= --with-x +PLIST_SUB+= X11="" .else CONFIGURE_ARGS+= --without-x +PLIST_SUB+= X11="@comment " .endif # DOCS depends on LaTeX and LaTeX-babel module diff --git a/devel/t1lib/pkg-plist b/devel/t1lib/pkg-plist index 96df056ea610..018e5cc2cf54 100644 --- a/devel/t1lib/pkg-plist +++ b/devel/t1lib/pkg-plist @@ -1,13 +1,13 @@ bin/type1afm -bin/xglyph +%%X11%%bin/xglyph include/t1lib.h -include/t1libx.h +%%X11%%include/t1libx.h lib/libt1.a lib/libt1.so lib/libt1.so.5 -lib/libt1x.a -lib/libt1x.so -lib/libt1x.so.5 +%%X11%%lib/libt1x.a +%%X11%%lib/libt1x.so +%%X11%%lib/libt1x.so.5 share/t1lib/doc/t1lib_doc.pdf share/t1lib/t1lib.config @dirrm share/t1lib/doc -- cgit