diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-06-01 13:18:21 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-06-01 13:18:21 +0000 |
commit | bf82f7adb78bef13e8050caa7d4b6ffa98c72543 (patch) | |
tree | fb65e9fdad39ec89dc7d665b97072497abd6d72c /audio/xmms-eq | |
parent | 0b61e80354910507aea86b5e1fddb914894de47a (diff) | |
download | ports-bf82f7adb78bef13e8050caa7d4b6ffa98c72543.tar.gz ports-bf82f7adb78bef13e8050caa7d4b6ffa98c72543.zip |
Notes
Diffstat (limited to 'audio/xmms-eq')
-rw-r--r-- | audio/xmms-eq/Makefile | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/audio/xmms-eq/Makefile b/audio/xmms-eq/Makefile index c30246f91d36..cac6c6e359d8 100644 --- a/audio/xmms-eq/Makefile +++ b/audio/xmms-eq/Makefile @@ -25,21 +25,22 @@ GNU_CONFIGURE= yes PLIST_FILES= lib/xmms/Effect/libeq.la \ lib/xmms/Effect/libeq.so -OPTIONS= BENCHMARK "Enable counting the cycles used by the IIR" off \ - EXT_INS "Use MMX/SSE/SSE2 instructions if available" on \ - OPTIMIZED_CFLAGS "Enable compilation optimizations" on +OPTIONS_DEFINE= BENCHMARK EXT_INS OPTIMIZED_CFLAGS +OPTIONS_DEFAULT= EXT_INS OPTIMIZED_CFLAGS +BENCHMARK_DESC= Enable counting the cycles used by the IIR +EXT_INS_DESC= Use MMX/SSE/SSE2 instructions if available -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if defined(WITH_BENCHMARK) +.if ${PORT_OPTIONS:MBENCHMARK} CONFIGURE_ARGS+= --enable-benchmark .endif -.if defined(WITHOUT_EXT_INS) || defined(PACKAGE_BUILDING) +.if empty(PORT_OPTIONS:MEXT_INS) || defined(PACKAGE_BUILDING) CONFIGURE_ARGS+= --disable-autodetect .endif -.if defined(WITHOUT_OPTIMIZED_CFLAGS) +.if empty(PORT_OPTIONS:MOPTIMIZED_CFLAGS) post-patch: @${REINPLACE_CMD} -e 's|-O3||g; \ s|-fomit-frame-pointer||g; \ @@ -53,4 +54,4 @@ post-install: @${CAT} ${PKGMESSAGE} @${ECHO_CMD} -.include <bsd.port.post.mk> +.include <bsd.port.mk> |