diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-06-14 22:41:54 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-06-14 22:41:54 +0000 |
commit | 42deff41c20217141832d772783e008e4b3fe376 (patch) | |
tree | ee54187112f11b0d31fc635a9e928f6ad5991892 /audio | |
parent | 7ece12c46dcd936eecb6d1fdf51b33f4c8eb5821 (diff) | |
download | ports-42deff41c20217141832d772783e008e4b3fe376.tar.gz ports-42deff41c20217141832d772783e008e4b3fe376.zip |
Notes
Diffstat (limited to 'audio')
-rw-r--r-- | audio/libmad/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/audio/libmad/Makefile b/audio/libmad/Makefile index a3af38fb6d54..0bbe9cf7895e 100644 --- a/audio/libmad/Makefile +++ b/audio/libmad/Makefile @@ -12,17 +12,17 @@ MASTER_SITES= SF/mad/${PORTNAME}/${PORTVERSION} \ MAINTAINER= ports@FreeBSD.org COMMENT= Libmad library (part of MAD project) +OPTIONS_DEFINE= SPEED +SPEED_DESC= Optimize for speed over accuracy + USE_AUTOTOOLS= libtool GNU_CONFIGURE= yes -USE_GNOME= pkgconfig USE_LDCONFIG= yes CONFIGURE_ARGS= --disable-debugging \ --enable-sso -.if defined(WITH_SPEED) -CONFIGURE_ARGS+= --enable-speed -.else -CONFIGURE_ARGS+= --enable-accuracy -.endif + +SPEED_CONFIGURE_ON= --enable-speed +SPEED_CONFIGURE_OFF= --enable-accuracy post-patch: @${SED} -e 's|%PREFIX%|${PREFIX}|g ; s|%VERSION%|${PORTVERSION}|g' \ |