aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-06-14 22:41:54 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-06-14 22:41:54 +0000
commit42deff41c20217141832d772783e008e4b3fe376 (patch)
treeee54187112f11b0d31fc635a9e928f6ad5991892 /audio
parent7ece12c46dcd936eecb6d1fdf51b33f4c8eb5821 (diff)
downloadports-42deff41c20217141832d772783e008e4b3fe376.tar.gz
ports-42deff41c20217141832d772783e008e4b3fe376.zip
Notes
Diffstat (limited to 'audio')
-rw-r--r--audio/libmad/Makefile12
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' \