aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorFUJISHIMA Satsuki <sf@FreeBSD.org>2004-12-09 16:54:10 +0000
committerFUJISHIMA Satsuki <sf@FreeBSD.org>2004-12-09 16:54:10 +0000
commitcda2e39bfcdc6dd918b5186eee027eeba97f152d (patch)
treea5898d8df304dce8e4c114b3a1167e6cc664183f /audio
parentd4d7c01b945744507c5855fa3c2c1deeef74e7f5 (diff)
downloadports-cda2e39bfcdc6dd918b5186eee027eeba97f152d.tar.gz
ports-cda2e39bfcdc6dd918b5186eee027eeba97f152d.zip
Notes
Diffstat (limited to 'audio')
-rw-r--r--audio/libmad/Makefile8
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' \