diff options
Diffstat (limited to 'graphics/freetype2/buildlink2.mk')
-rw-r--r-- | graphics/freetype2/buildlink2.mk | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/graphics/freetype2/buildlink2.mk b/graphics/freetype2/buildlink2.mk index 972f0b04f3f..779cd021d3e 100644 --- a/graphics/freetype2/buildlink2.mk +++ b/graphics/freetype2/buildlink2.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink2.mk,v 1.11 2003/10/30 12:28:56 grant Exp $ +# $NetBSD: buildlink2.mk,v 1.12 2004/02/05 06:58:03 jlam Exp $ .if !defined(FREETYPE2_BUILDLINK2_MK) FREETYPE2_BUILDLINK2_MK= # defined @@ -51,6 +51,14 @@ _NEED_FREETYPE2!= \ . endif .endif +.if defined(BUILDLINK_PREFER_PKGSRC) +. if empty(BUILDLINK_PREFER_PKGSRC) || \ + !empty(BUILDLINK_PREFER_PKGSRC:M[yY][eE][sS]) || \ + !empty(BUILDLINK_PREFER_PKGSRC:Mfreetype2) +_NEED_FREETYPE2= YES +. endif +.endif + .if ${_NEED_FREETYPE2} == "YES" BUILDLINK_PACKAGES+= freetype2 EVAL_PREFIX+= BUILDLINK_PREFIX.freetype2=freetype2 |