From ef6d0f0c0ee0f487870bbb3f84a01f5082e08153 Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Sun, 31 Aug 2003 02:06:06 +0000 Subject: [PATCH] * Unbreak with older versions of make(1) * Echo messages during pre-everything * Use ${ECHO_MSG} instead of ${ECHO} to display ghostscript message --- print/ggv2/Makefile | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/print/ggv2/Makefile b/print/ggv2/Makefile index 99e011a6ab5f..5c5d083e78f1 100644 --- a/print/ggv2/Makefile +++ b/print/ggv2/Makefile @@ -16,11 +16,15 @@ DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org COMMENT= GNOME 2 ghostscript viewer -.if defined(WITH_GHOSTSCRIPT_AFPL) && ${WITH_GHOSTSCRIPT_AFPL} == yes +.if defined(WITH_GHOSTSCRIPT_AFPL) +.if ${WITH_GHOSTSCRIPT_AFPL} == yes GSPORT?= print/ghostscript-afpl .else GSPORT?= print/ghostscript-gnu .endif +.else +GSPORT?= print/ghostscript-gnu +.endif BUILD_DEPENDS= gs:${PORTSDIR}/${GSPORT} RUN_DEPENDS= gs:${PORTSDIR}/${GSPORT} @@ -34,12 +38,12 @@ USE_REINPLACE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" -pre-fetch: +pre-everything:: .if !defined(WITH_GHOSTSCRIPT_AFPL) || ${WITH_GHOSTSCRIPT_AFPL} != yes - @${ECHO} "" - @${ECHO} " Define WITH_GHOSTSCRIPT_AFPL=yes to use" - @${ECHO} " AFPL Postscript interpreter instead of GNU one" - @${ECHO} "" + @${ECHO_MSG} "" + @${ECHO_MSG} " Define WITH_GHOSTSCRIPT_AFPL=yes to use" + @${ECHO_MSG} " AFPL Postscript interpreter instead of GNU one" + @${ECHO_MSG} "" .endif .include