From 3be2d5fde75784a4c05ab98fdbd9153bb3bd6fe7 Mon Sep 17 00:00:00 2001 From: Michael Scheidell Date: Mon, 6 Aug 2012 10:31:40 +0000 Subject: [PATCH] - Switch to new OPTIONS framework PR: ports/168893 Submitted by: Joris Dedieu (maintainer) --- graphics/tinyows/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/graphics/tinyows/Makefile b/graphics/tinyows/Makefile index b0565ecb0ed1..650a2e7a1969 100644 --- a/graphics/tinyows/Makefile +++ b/graphics/tinyows/Makefile @@ -20,11 +20,12 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/postgresql/postgis-1.5.so:${PORTSDIR}/databases USE_BZIP2= YES GNU_CONFIGURE= YES -OPTIONS= FASTCGI "Support FASTCGI" on \ +OPTIONS_DEFINE= FASTCGI +OPTIONS_DEFAULT= FASTCGI -.include +.include -.if defined(WITH_FASTCGI) +.if ${PORT_OPTIONS:MFASTCGI} BUILD_DEPENDS+= ${LOCALBASE}/bin/cgi-fcgi:${PORTSDIR}/www/fcgi CONFIGURE_ARGS+= --with-fastcgi=${LOCALBASE} .endif @@ -33,4 +34,4 @@ post-install: ${MKDIR} ${WWWDIR}/cgi-bin/ ${INSTALL_PROGRAM} ${WRKSRC}/tinyows ${WWWDIR}/cgi-bin/tinyows -.include +.include