Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jun 2013 22:22:31 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r320969 - head/audio/caps-plugins
Message-ID:  <201306142222.r5EMMVX7000252@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Fri Jun 14 22:22:31 2013
New Revision: 320969
URL: http://svnweb.freebsd.org/changeset/ports/320969

Log:
  Convert from WITH to OPTIONS

Modified:
  head/audio/caps-plugins/Makefile

Modified: head/audio/caps-plugins/Makefile
==============================================================================
--- head/audio/caps-plugins/Makefile	Fri Jun 14 22:18:25 2013	(r320968)
+++ head/audio/caps-plugins/Makefile	Fri Jun 14 22:22:31 2013	(r320969)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	caps-plugins
-# Date created:		2007-03-06
-# Whom:			trasz <trasz@pin.if.uz.zgora.pl>
-#
+# Created by: trasz <trasz@pin.if.uz.zgora.pl>
 # $FreeBSD$
-#
 
 PORTNAME=	caps-plugins
 PORTVERSION=	0.4.5
@@ -17,6 +13,8 @@ COMMENT=	The C* Audio Plugin Suite
 BUILD_DEPENDS=	${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
 RUN_DEPENDS=	${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
 
+OPTIONS_DEFINE=	OPTIMIZED_CFLAGS
+
 LICENSE=	GPLv2 GPLv3
 LICENSE_COMB=	dual
 
@@ -28,9 +26,7 @@ MAKE_ARGS=	CC="${CXX}" CFLAGS="${CXXFLAG
 PLIST_FILES=	lib/ladspa/caps.so share/ladspa/rdf/caps.rdf
 PLIST_DIRSTRY=	share/ladspa/rdf share/ladspa
 
-.if !defined(WITHOUT_OPTIMIZED_CFLAGS)
-CFLAGS+=	-O2 -ffast-math -funroll-loops
-.endif
+OPTIMIZED_CFLAGS_CFLAGS=	-O2 -ffast-math -funroll-loops
 
 do-install:
 	@${MKDIR} ${PREFIX}/lib/ladspa



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