Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Dec 2013 11:42:32 +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: r337965 - head/graphics/webp
Message-ID:  <201312291142.rBTBgWiE003992@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: johans
Date: Sun Dec 29 11:42:32 2013
New Revision: 337965
URL: http://svnweb.freebsd.org/changeset/ports/337965

Log:
  Simplify conditional options
  
  Submitted by:	bapt

Modified:
  head/graphics/webp/Makefile

Modified: head/graphics/webp/Makefile
==============================================================================
--- head/graphics/webp/Makefile	Sun Dec 29 11:42:31 2013	(r337964)
+++ head/graphics/webp/Makefile	Sun Dec 29 11:42:32 2013	(r337965)
@@ -27,14 +27,8 @@ CONFIGURE_ARGS+=--with-pkgconfigdir=${PR
 
 OPTIONS_DEFINE=	X11
 OPTIONS_SUB=	yes
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MX11}
-USE_GL=		glut
-.else
-CONFIGURE_ARGS+=--with-glincludedir=/dev/null
-.endif
+X11_USE=	GL=glut
+X11_CONFIGURE_OFF=	--with-glincludedir=/dev/null
 
 post-install:
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libwebp*.so



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