From 5d9ffad485d9fa79c284b3cdb4d45f9c52b86a16 Mon Sep 17 00:00:00 2001 From: ahze Date: Wed, 20 Jul 2005 10:26:25 +0000 Subject: - Since cups support is on by default now, add pre-everything on how to disable it git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@4279 df743ca5-7f9a-e211-a948-0013205c9059 --- print/libgnomeprint/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/print/libgnomeprint/Makefile b/print/libgnomeprint/Makefile index fbaa719e6..7223d8bd9 100644 --- a/print/libgnomeprint/Makefile +++ b/print/libgnomeprint/Makefile @@ -3,7 +3,7 @@ # Whom: Vanilla I. Shu # # $FreeBSD$ -# $MCom: ports/print/libgnomeprint/Makefile,v 1.45 2005/07/01 18:05:05 marcus Exp $ +# $MCom: ports/print/libgnomeprint/Makefile,v 1.46 2005/07/19 07:26:38 ahze Exp $ # PORTNAME= libgnomeprint @@ -49,6 +49,13 @@ CONFIGURE_ARGS+= --without-cups PLIST_SUB+= CUPS:="@comment " .endif +pre-everything:: +.if !defined(WITHOUT_CUPS) + @${ECHO_MSG} " Disable cups support by defining" + @${ECHO_MSG} " WITHOUT_CUPS" + @${ECHO_MSG} "" +.endif + post-patch: @${FIND} ${WRKSRC} -name '*.[ch]' | ${XARGS} ${REINPLACE_CMD} -e \ 's|||' -- cgit v1.2.3