svn commit: r320969 - head/audio/caps-plugins

Baptiste Daroussin bapt at FreeBSD.org
Fri Jun 14 22:22:32 UTC 2013


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 at pin.if.uz.zgora.pl>
-#
+# Created by: trasz <trasz at 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


More information about the svn-ports-all mailing list