diff options
author | krion <krion@FreeBSD.org> | 2004-06-28 02:12:21 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-06-28 02:12:21 +0800 |
commit | 2c52bbe8837e75a138cc1a7eb7eab141ead395fd (patch) | |
tree | b4e9b86ca1bc54bb8217644a0b5e3d959a351a40 /math | |
parent | e2bfeece747fd22ee6ff845613c0550cd47605fc (diff) | |
download | freebsd-ports-gnome-2c52bbe8837e75a138cc1a7eb7eab141ead395fd.tar.gz freebsd-ports-gnome-2c52bbe8837e75a138cc1a7eb7eab141ead395fd.tar.zst freebsd-ports-gnome-2c52bbe8837e75a138cc1a7eb7eab141ead395fd.zip |
Fix OPTIONS
PR: ports/68388
Submitted by: Ports Fury
Diffstat (limited to 'math')
-rw-r--r-- | math/gnuplot/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
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: |