diff options
author | danfe <danfe@FreeBSD.org> | 2012-01-31 11:23:30 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2012-01-31 11:23:30 +0800 |
commit | c01b8ce80295e6059680ccb48acc68670b8194c1 (patch) | |
tree | 9639fe71579870f0fa45729635048cae66a73d48 | |
parent | 862323fd44934b9b1f974fffe55909a3f5a602b0 (diff) | |
download | freebsd-ports-gnome-c01b8ce80295e6059680ccb48acc68670b8194c1.tar.gz freebsd-ports-gnome-c01b8ce80295e6059680ccb48acc68670b8194c1.tar.zst freebsd-ports-gnome-c01b8ce80295e6059680ccb48acc68670b8194c1.zip |
- Stop accounting for GCC 3.x (${OSVERSION} < 700042)
- Detect MMX support per MACHINE_CPU, remove OPTIONS
- Remove .else clause since --disable-mmx is the default
- Collapse including <bsd.port.pre/post.mk> into just <bsd.port.mk>
- Reindent MAN1 variable assignment (line up with other knobs)
- Adjust COMMENT and Makefile header while I am here
-rw-r--r-- | audio/wavpack/Makefile | 24 |
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> |