summaryrefslogtreecommitdiff
path: root/audio/mpg123/Makefile
diff options
context:
space:
mode:
authoritojun <itojun>2000-02-18 11:04:10 +0000
committeritojun <itojun>2000-02-18 11:04:10 +0000
commitf56d6f4f86dd4033230246ad62fb8b1555fae15a (patch)
treed8efc85aba2722cb7bfe468b5498b76a136d59b8 /audio/mpg123/Makefile
parentdec0c8ae418d3a36176ed14de5486452b9b1d88a (diff)
downloadpkgsrc-f56d6f4f86dd4033230246ad62fb8b1555fae15a.tar.gz
make the pkgsrc IPv6 ready.
% mpg123 http://www.v6.foo.com/
Diffstat (limited to 'audio/mpg123/Makefile')
-rw-r--r--audio/mpg123/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/audio/mpg123/Makefile b/audio/mpg123/Makefile
index 3be1f026fc0..5a4f3636331 100644
--- a/audio/mpg123/Makefile
+++ b/audio/mpg123/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 1999/10/12 04:43:11 simonb Exp $
+# $NetBSD: Makefile,v 1.19 2000/02/18 11:04:10 itojun Exp $
#
DISTNAME= mpg123-0.59r
@@ -6,9 +6,15 @@ CATEGORIES= audio
MASTER_SITES= http://www.mpg123.de/mpg123/ \
http://www-ti.informatik.uni-tuebingen.de/~hippm/mpg123/
+PATCH_SITES= ftp://ftp.kame.net/pub/kame/misc/
+PATCHFILES= mpg123-059r-v6-20000111.diff.gz
+PATCH_DIST_STRIP= -p1
+
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.mpg123.de/
+BUILD_DEFS+= USE_INET6
+
# for OBJECT_FMT
.include "../../mk/bsd.prefs.mk"
@@ -30,6 +36,10 @@ ALL_TARGET= ${LOWER_OPSYS}
MAKE_ENV+= CPPFLAGS=""
.endif
+.if defined(USE_INET6) && ${USE_INET6} == "YES"
+MAKE_ENV+= CPPFLAGS="-DINET6"
+.endif
+
MAKE_FLAGS+= PREFIX="${PREFIX}"
post-patch: