From f401c0eb045c8c3755376b2d5e47b66fc214c365 Mon Sep 17 00:00:00 2001 From: Kirill Ponomarev Date: Sun, 27 Jun 2004 18:12:21 +0000 Subject: Fix OPTIONS PR: ports/68388 Submitted by: Ports Fury --- math/gnuplot/Makefile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'math/gnuplot') diff --git a/math/gnuplot/Makefile b/math/gnuplot/Makefile index b43439a0292c..f3be049b3f1c 100644 --- a/math/gnuplot/Makefile +++ b/math/gnuplot/Makefile @@ -7,6 +7,7 @@ PORTNAME= gnuplot PORTVERSION= 4.0.0 +PORTREVISION= 1 CATEGORIES= math graphics MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -50,18 +51,18 @@ CONFIGURE_ARGS+= --without-x PLIST_SUB+= X11:="@comment " .endif -.if defined(WITH_PNG) +.if defined(WITHOUT_PNG) +CONFIGURE_ARGS+= --without-png +.else LIB_DEPENDS+= png.5:${PORTSDIR}/graphics/png CONFIGURE_ARGS+= --with-png=${LOCALBASE} -.else -CONFIGURE_ARGS+= --without-png .endif -.if defined(WITH_PDF) +.if defined(WITHOUT_PDF) +CONFIGURE_ARGS+= --without-pdf +.else LIB_DEPENDS+= pdf.7:${PORTSDIR}/print/pdflib CONFIGURE_ARGS+= --with-pdf=${LOCALBASE} -.else -CONFIGURE_ARGS+= --without-pdf .endif post-patch: -- cgit v1.2.3