aboutsummaryrefslogtreecommitdiff
path: root/audio/wavpack
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2012-01-31 03:23:30 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2012-01-31 03:23:30 +0000
commit85abe25cbbf975fa7fb44a8c1f8847285cce04f1 (patch)
treec83c68d1f2d05ce64ab9a367c4896d748152bdc2 /audio/wavpack
parent9f5c39ed8c8466e10b8635927e584382b01b558d (diff)
downloadports-85abe25cbbf975fa7fb44a8c1f8847285cce04f1.tar.gz
ports-85abe25cbbf975fa7fb44a8c1f8847285cce04f1.zip
Notes
Diffstat (limited to 'audio/wavpack')
-rw-r--r--audio/wavpack/Makefile24
1 files changed, 8 insertions, 16 deletions
diff --git a/audio/wavpack/Makefile b/audio/wavpack/Makefile
index 33c18584a16a..b6ffa74fcda3 100644
--- a/audio/wavpack/Makefile
+++ b/audio/wavpack/Makefile
@@ -1,6 +1,6 @@
-# New ports collection makefile for: wavpack
-# Date created: Fri Jun 24 20:30:04 CEST 2005
-# Whom: Koop Mast <kwm@FreeBSD.org>
+# New ports collection makefile for: WavPack
+# Date created: Fri Jun 24 20:30:04 CEST 2005
+# Whom: Koop Mast <kwm@FreeBSD.org>
#
# $FreeBSD$
#
@@ -11,7 +11,7 @@ CATEGORIES= audio
MASTER_SITES= http://www.wavpack.com/
MAINTAINER= multimedia@FreeBSD.org
-COMMENT= Audio codec for lossless, lossy and hybrid compression
+COMMENT= Audio codec for lossless, lossy, and hybrid compression
USE_BZIP2= yes
USE_GNOME= gnomehack pkgconfig
@@ -21,18 +21,10 @@ GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-OPTIONS= MMX "Enable MMX optimizations (x86 only)" Off
+MAN1= wavpack.1 wvgain.1 wvunpack.1
-MAN1= wavpack.1 wvgain.1 wvunpack.1
-
-.include <bsd.port.pre.mk>
-
-# GCC 3.x fails with internal compiler errror
-.if defined(WITH_MMX) && (${ARCH} == "i386" || ${ARCH} == "amd64") && \
- (${OSVERSION} >= 700042)
-CONFIGURE_ARGS+= --enable-mmx
-.else
-CONFIGURE_ARGS+= --disable-mmx
+.if ${MACHINE_CPU:Mmmx}
+CONFIGURE_ARGS= --enable-mmx
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>