diff options
author | wiz <wiz@pkgsrc.org> | 2005-12-01 18:16:50 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2005-12-01 18:16:50 +0000 |
commit | b1ba023f95e5ae1585d0aee1071f3db51f004cc7 (patch) | |
tree | d728dec5572896790afd2e04fe7059f15c9faf0d /print/libgnomeprint | |
parent | 4d4bc327d4bf4b9a1c43e165ca12f0d3a1ab188b (diff) | |
download | pkgsrc-b1ba023f95e5ae1585d0aee1071f3db51f004cc7.tar.gz |
Fix cups handling in buildlink3.mk file.
cups is not enabled by default, so no further changes.
Users who have added cups to the options for this package should
rebuild all dependencies.
Diffstat (limited to 'print/libgnomeprint')
-rw-r--r-- | print/libgnomeprint/buildlink3.mk | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/print/libgnomeprint/buildlink3.mk b/print/libgnomeprint/buildlink3.mk index e88ec750f1e..e1699d427c9 100644 --- a/print/libgnomeprint/buildlink3.mk +++ b/print/libgnomeprint/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.6 2004/10/03 00:18:05 tv Exp $ +# $NetBSD: buildlink3.mk,v 1.7 2005/12/01 18:16:50 wiz Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ LIBGNOMEPRINT_BUILDLINK3_MK:= ${LIBGNOMEPRINT_BUILDLINK3_MK}+ @@ -25,8 +25,16 @@ BUILDLINK_PKGSRCDIR.libgnomeprint?= ../../print/libgnomeprint .include "../../graphics/freetype2/buildlink3.mk" .include "../../graphics/libart2/buildlink3.mk" -.if defined(USE_CUPS) && !empty(USE_CUPS:M[Yy][Ee][Ss]) -. include "../../print/cups/buildlink3.mk" +.if !defined(PKG_BUILD_OPTIONS.libgnomeprint) +PKG_BUILD_OPTIONS.libgnomeprint!= \ + cd ${BUILDLINK_PKGSRCDIR.libgnomeprint} && \ + ${MAKE} show-var ${MAKEFLAGS} VARNAME=PKG_OPTIONS +MAKEFLAGS+= PKG_BUILD_OPTIONS.libgnomeprint=${PKG_BUILD_OPTIONS.libgnomeprint:Q} +.endif +MAKEVARS+= PKG_BUILD_OPTIONS.libgnomeprint + +.if !empty(PKG_BUILD_OPTIONS.libgnomeprint:Mcups) +. include "../../print/libgnomecups/buildlink3.mk" .endif BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |