diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-07-20 18:26:25 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-07-20 18:26:25 +0800 |
commit | 5d9ffad485d9fa79c284b3cdb4d45f9c52b86a16 (patch) | |
tree | 683dbe51b92a8903615e64cdf264c7be55c45b10 /print | |
parent | 884aebd393ef2d22d61093577f749d96f003705a (diff) | |
download | marcuscom-ports-5d9ffad485d9fa79c284b3cdb4d45f9c52b86a16.tar.gz marcuscom-ports-5d9ffad485d9fa79c284b3cdb4d45f9c52b86a16.tar.zst marcuscom-ports-5d9ffad485d9fa79c284b3cdb4d45f9c52b86a16.zip |
- 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
Diffstat (limited to 'print')
-rw-r--r-- | print/libgnomeprint/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
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 <vanilla@FreeBSD.org> # # $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|<malloc[.]h>|<stdlib.h>|' |