summaryrefslogtreecommitdiff
path: root/audio/madplay
diff options
context:
space:
mode:
authorwiz <wiz>2000-10-21 20:39:53 +0000
committerwiz <wiz>2000-10-21 20:39:53 +0000
commit2d3c335ff0451349dcdea2ae640240d71ae91432 (patch)
tree61a1e9f80d3797888e69346bdbb82f03995e1e7d /audio/madplay
parent21d2d6d180b221c8a98ee55930b36effac07bc3c (diff)
downloadpkgsrc-2d3c335ff0451349dcdea2ae640240d71ae91432.tar.gz
Enable assembler optimizations on i386 and sparc (where I could verify
compilation). XXX: someone on ARM or MIPS processors could try activating those options...
Diffstat (limited to 'audio/madplay')
-rw-r--r--audio/madplay/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/audio/madplay/Makefile b/audio/madplay/Makefile
index 4345295ff6e..9741c70c8d5 100644
--- a/audio/madplay/Makefile
+++ b/audio/madplay/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2000/10/15 10:29:33 simonb Exp $
+# $NetBSD: Makefile,v 1.3 2000/10/21 20:39:53 wiz Exp $
#
DISTNAME= mad-0.11.4b
@@ -11,4 +11,12 @@ HOMEPAGE= http://sourceforge.net/projects/mad/
GNU_CONFIGURE= YES
+.include "../../mk/bsd.prefs.mk"
+
+.if (${MACHINE_ARCH} == "i386")
+CONFIGURE_ARGS+= --enable-fpm=i386
+.elif (${MACHINE_ARCH} == "sparc")
+CONFIGURE_ARGS+= --enable-fpm=sparc
+.endif
+
.include "../../mk/bsd.pkg.mk"