diff options
author | sf <sf@FreeBSD.org> | 2004-12-10 00:54:10 +0800 |
---|---|---|
committer | sf <sf@FreeBSD.org> | 2004-12-10 00:54:10 +0800 |
commit | 691fda36b898daef2a69371080539f10793c3dd6 (patch) | |
tree | 14eb7254606505a89b19895f7d2184e6b89f49aa | |
parent | 64a38141a944c267c5d93d0b31fa08e45e9ceb00 (diff) | |
download | freebsd-ports-gnome-691fda36b898daef2a69371080539f10793c3dd6.tar.gz freebsd-ports-gnome-691fda36b898daef2a69371080539f10793c3dd6.tar.zst freebsd-ports-gnome-691fda36b898daef2a69371080539f10793c3dd6.zip |
add knob to enable speed optimization.
(maintainer timeout for two weeks.)
Submitted by: Ingmar Gebert <ingmar.gebert@uni-rostock.de>
-rw-r--r-- | audio/libmad/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/audio/libmad/Makefile b/audio/libmad/Makefile index 4c8079aad95b..98ec86fc2354 100644 --- a/audio/libmad/Makefile +++ b/audio/libmad/Makefile @@ -20,8 +20,12 @@ USE_INC_LIBTOOL_VER= 13 USE_GNOME= pkgconfig INSTALLS_SHLIB= yes CONFIGURE_ARGS= --disable-debugging \ - --enable-sso \ - --enable-accuracy + --enable-sso +.if defined(WITH_SPEED) +CONFIGURE_ARGS+= --enable-speed +.else +CONFIGURE_ARGS+= --enable-accuracy +.endif post-patch: @${SED} -e 's|%PREFIX%|${PREFIX}|g ; s|%VERSION%|${PORTVERSION}|g' \ |