Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Sep 2014 17:38:05 +0000 (UTC)
From:      Johan van Selst <johans@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r367294 - head/lang/algol68g
Message-ID:  <201409041738.s84Hc58m047712@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: johans
Date: Thu Sep  4 17:38:04 2014
New Revision: 367294
URL: http://svnweb.freebsd.org/changeset/ports/367294
QAT: https://qat.redports.org/buildarchive/r367294/

Log:
  Fix misleading option name: the option uses plotutils, not gnuplot
  No functional changes
  
  PR:		193317
  Submitted by:	amdmi3

Modified:
  head/lang/algol68g/Makefile

Modified: head/lang/algol68g/Makefile
==============================================================================
--- head/lang/algol68g/Makefile	Thu Sep  4 17:28:34 2014	(r367293)
+++ head/lang/algol68g/Makefile	Thu Sep  4 17:38:04 2014	(r367294)
@@ -11,8 +11,15 @@ COMMENT=	Algol 68 Genie compiler
 
 LIB_DEPENDS=	libgsl.so:${PORTSDIR}/math/gsl
 
-OPTIONS_DEFINE=	GNUPLOT PGSQL
-OPTIONS_DEFAULT=GNUPLOT PGSQL
+OPTIONS_DEFINE=	PLOTUTILS PGSQL
+OPTIONS_DEFAULT=PLOTUTILS PGSQL
+
+PLOTUTILS_DESC=		Plotting support via plotutils
+PLOTUTILS_LIB_DEPENDS=	libplot.so:${PORTSDIR}/graphics/plotutils
+PLOTUTILS_CONFIGURE_ENABLE=plotutils
+
+PGSQL_USES=		pgsql
+PGSQL_CONFIGURE_ENABLE=	postgresql
 
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS+=--enable-compiler
@@ -21,20 +28,6 @@ PLIST_DIRS=	include/algol68g
 PLIST_FILES=	bin/a68g man/man1/a68g.1.gz \
 		include/algol68g/a68g.h include/algol68g/a68g-config.h
 
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MGNUPLOT}
-LIB_DEPENDS+=	libplot.so:${PORTSDIR}/graphics/plotutils
-.else
-CONFIGURE_ARGS+=--disable-plotutils
-.endif
-
-.if ${PORT_OPTIONS:MPGSQL}
-USE_PGSQL=	yes
-.else
-CONFIGURE_ARGS+=--disable-postgresql
-.endif
-
 post-patch:
 #	Skip broken check, assume our $CC works
 	@${REINPLACE_CMD} -Ee 's/.*(\*-freebsd)/\1/' \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409041738.s84Hc58m047712>