summaryrefslogtreecommitdiff
path: root/audio/mpg123/Makefile
diff options
context:
space:
mode:
authorthorpej <thorpej>1999-06-28 00:35:33 +0000
committerthorpej <thorpej>1999-06-28 00:35:33 +0000
commit5a226c0d6dfd41a24663d540111ce4a7c5e6ef33 (patch)
tree339e7754d60a7ca1bd73b317b88e5707c26e253e /audio/mpg123/Makefile
parent5926fc2263cdcd5ea2660bc9377cf3914d961572 (diff)
downloadpkgsrc-5a226c0d6dfd41a24663d540111ce4a7c5e6ef33.tar.gz
Make this build on i386/ELF systems.
Diffstat (limited to 'audio/mpg123/Makefile')
-rw-r--r--audio/mpg123/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/audio/mpg123/Makefile b/audio/mpg123/Makefile
index e5067142297..4b4a068e649 100644
--- a/audio/mpg123/Makefile
+++ b/audio/mpg123/Makefile
@@ -1,6 +1,9 @@
-# $NetBSD: Makefile,v 1.12 1999/04/08 07:34:56 tron Exp $
+# $NetBSD: Makefile,v 1.13 1999/06/28 00:35:33 thorpej Exp $
#
+# for OBJECT_FMT
+.include "../../mk/bsd.prefs.mk"
+
DISTNAME= mpg123-0.59q
CATEGORIES= audio
MASTER_SITES= http://ftp.tu-clausthal.de/pub/unix/audio/mpg123/
@@ -9,7 +12,11 @@ MAINTAINER= augustss@cs.chalmers.se
HOMEPAGE= http://mpg.123.org/
.if (${MACHINE_ARCH} == "i386")
+.if (${OBJECT_FMT} == "ELF")
+ALL_TARGET= netbsd-i386-elf
+.else
ALL_TARGET= netbsd-i386
+.endif
.elif (${MACHINE_ARCH} == "m68k")
ALL_TARGET= netbsd-m68k
.else