Index: head/audio/libmad/Makefile =================================================================== --- head/audio/libmad/Makefile (revision 123572) +++ head/audio/libmad/Makefile (revision 123573) @@ -1,33 +1,37 @@ # New ports collection makefile for: libmad # Date created: 26 November 2003 # Whom: Sergey Akifyev # # $FreeBSD$ # PORTNAME= libmad PORTVERSION= 0.15.1b PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ ftp://ftp.mars.org/pub/mpeg/ MASTER_SITE_SUBDIR= mad MAINTAINER= asa@gascom.ru COMMENT= Libmad library (part of MAD project) 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' \ ${FILESDIR}/mad.pc.in > ${WRKDIR}/mad.pc post-install: ${INSTALL_DATA} ${WRKDIR}/mad.pc ${PREFIX}/libdata/pkgconfig .include Property changes on: head/audio/libmad/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.5 \ No newline at end of property +1.6 \ No newline at end of property