diff options
author | tron <tron> | 2003-03-13 20:40:01 +0000 |
---|---|---|
committer | tron <tron> | 2003-03-13 20:40:01 +0000 |
commit | cdb8d7b07a24fa8dbaa963272ef32f7b481786d1 (patch) | |
tree | e0bc42f3217ce8f4c00c849cfcf813a06be79756 /fonts | |
parent | cccd2829a65e5360df922b00325ac773b2c7cb40 (diff) | |
download | pkgsrc-cdb8d7b07a24fa8dbaa963272ef32f7b481786d1.tar.gz |
Use XFree86 4.3.0's "Xft2" if available.
Diffstat (limited to 'fonts')
-rw-r--r-- | fonts/Xft2/buildlink2.mk | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/fonts/Xft2/buildlink2.mk b/fonts/Xft2/buildlink2.mk index ea6eac4f3ab..f119283637b 100644 --- a/fonts/Xft2/buildlink2.mk +++ b/fonts/Xft2/buildlink2.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink2.mk,v 1.4 2003/01/14 09:20:20 jlam Exp $ +# $NetBSD: buildlink2.mk,v 1.5 2003/03/13 20:40:01 tron Exp $ # # This Makefile fragment is included by packages that use Xft2. # @@ -8,12 +8,18 @@ .if !defined(XFT2_BUILDLINK2_MK) XFT2_BUILDLINK2_MK= # defined +.include "../../mk/bsd.prefs.mk" + +.if exists(${X11BASE}/bin/xft-config) +BUILDLINK_PREFIX.Xft2= ${X11BASE} +.else BUILDLINK_PACKAGES+= Xft2 BUILDLINK_DEPENDS.Xft2?= Xft2>=2.1nb1 BUILDLINK_PKGSRCDIR.Xft2?= ../../fonts/Xft2 EVAL_PREFIX+= BUILDLINK_PREFIX.Xft2=Xft2 BUILDLINK_PREFIX.Xft2_DEFAULT= ${LOCALBASE} +.endif BUILDLINK_FILES.Xft2+= include/X11/Xft/* BUILDLINK_FILES.Xft2+= lib/libXft.* BUILDLINK_FILES.Xft2+= lib/pkgconfig/xft.pc |