svn commit: r320976 - head/audio/libmad
Baptiste Daroussin
bapt at FreeBSD.org
Fri Jun 14 22:41:55 UTC 2013
Author: bapt
Date: Fri Jun 14 22:41:54 2013
New Revision: 320976
URL: http://svnweb.freebsd.org/changeset/ports/320976
Log:
Convert from WITH to OPTIONS
While here remove wrong pkgconfig dependency
Modified:
head/audio/libmad/Makefile
Modified: head/audio/libmad/Makefile
==============================================================================
--- head/audio/libmad/Makefile Fri Jun 14 22:38:23 2013 (r320975)
+++ head/audio/libmad/Makefile Fri Jun 14 22:41:54 2013 (r320976)
@@ -12,17 +12,17 @@ MASTER_SITES= SF/mad/${PORTNAME}/${PORTV
MAINTAINER= ports at 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' \
More information about the svn-ports-head
mailing list