summaryrefslogtreecommitdiff
path: root/audio/mpg123/Makefile
diff options
context:
space:
mode:
authorJoseph Koshy <jkoshy@FreeBSD.org>1999-08-05 05:53:54 +0000
committerJoseph Koshy <jkoshy@FreeBSD.org>1999-08-05 05:53:54 +0000
commit5a3d2e54f98564e5c87c9682179c740074bbfc05 (patch)
tree115bf4d16ea6d0b3e39e96e23acc80fde54ec215 /audio/mpg123/Makefile
parentmake this patch relative to ${WRKSRC}, sorry. (diff)
Upgrade to v0.59r. mpg123 can now be built tuned for your specific x86
architecture at port build time. PR: ports/12814 Submitted by: Maxim Sobolev <sobomax@altavista.net>
Notes
Notes: svn path=/head/; revision=20533
Diffstat (limited to 'audio/mpg123/Makefile')
-rw-r--r--audio/mpg123/Makefile22
1 files changed, 19 insertions, 3 deletions
diff --git a/audio/mpg123/Makefile b/audio/mpg123/Makefile
index 72865432bab9..971bfda6115d 100644
--- a/audio/mpg123/Makefile
+++ b/audio/mpg123/Makefile
@@ -3,12 +3,13 @@
# Date created: 25 June 1997
# Whom: Carey Jones <mcj@acquiesce.org>
#
-# $Id: Makefile,v 1.10 1999/01/28 03:41:43 jkoshy Exp $
+# $Id: Makefile,v 1.11 1999/02/01 09:01:09 jkoshy Exp $
#
-DISTNAME= mpg123-0.59q
+DISTNAME= mpg123-0.59r
CATEGORIES= audio
-MASTER_SITES= http://www-ti.informatik.uni-tuebingen.de/~hippm/mpg123/ \
+MASTER_SITES= http://www.mpg123.de/mpg123/ \
+ http://www-ti.informatik.uni-tuebingen.de/~hippm/mpg123/ \
ftp://ftp.tu-clausthal.de/pub/unix/audio/mpg123/ \
http://ftp.tu-clausthal.de/pub/unix/audio/mpg123/
@@ -20,4 +21,19 @@ MAN1= mpg123.1
ALL_TARGET= freebsd
+pre-configure:
+.if $(MACHINE_ARCH) == "i386"
+.if !defined(OPT_ARCH) || (($(OPT_ARCH) != "i486") && ($(OPT_ARCH) != "i586"))
+ @echo "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
+ @echo "Please considering setting OPT_ARCH to match your hardware to build mpg123"
+ @echo "optimised for your hardware (e.g: make OPT_ARCH=i486)"
+.if $(PORTOBJFORMAT) == "elf"
+ @echo "Valid values are: i486, i586"
+.else
+ @echo "Valid values are: i486"
+.endif
+ @echo "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
+.endif
+.endif
+
.include <bsd.port.post.mk>