diff options
author | bapt <bapt@FreeBSD.org> | 2013-06-15 06:41:54 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-06-15 06:41:54 +0800 |
commit | 355a2960db5115d0e27c7d2aecbd60f2db7e92eb (patch) | |
tree | ee54187112f11b0d31fc635a9e928f6ad5991892 /audio | |
parent | 8f2ad5681a9252be770bca88f1ecff1e6128f1b4 (diff) | |
download | freebsd-ports-gnome-355a2960db5115d0e27c7d2aecbd60f2db7e92eb.tar.gz freebsd-ports-gnome-355a2960db5115d0e27c7d2aecbd60f2db7e92eb.tar.zst freebsd-ports-gnome-355a2960db5115d0e27c7d2aecbd60f2db7e92eb.zip |
Convert from WITH to OPTIONS
While here remove wrong pkgconfig dependency
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' \ |