summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2001-01-11 07:26:54 +0000
committertron <tron@pkgsrc.org>2001-01-11 07:26:54 +0000
commit8fe374e50712829268fc7061d138ff906d6ff0d8 (patch)
tree6c0a2ba7c7b26b5e7ecdc537cacfaa594470019e /audio
parent5baf61ab7330d24c0741fdc3d5f15f86923c4992 (diff)
downloadpkgsrc-8fe374e50712829268fc7061d138ff906d6ff0d8.tar.gz
Work arround the problem that the IPv6 patch file needs to be applied with
"-p1" while the layer 3 64bit patch needs "-p0".
Diffstat (limited to 'audio')
-rw-r--r--audio/mpg123/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/audio/mpg123/Makefile b/audio/mpg123/Makefile
index c825a2ec55f..b07039ebaa1 100644
--- a/audio/mpg123/Makefile
+++ b/audio/mpg123/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2000/09/11 18:58:42 tron Exp $
+# $NetBSD: Makefile,v 1.23 2001/01/11 07:26:54 tron Exp $
#
DISTNAME= mpg123-0.59r
@@ -9,7 +9,6 @@ MASTER_SITES= http://www.mpg123.de/mpg123/ \
PATCH_SITES= ftp://ftp.kame.net/pub/kame/misc/ \
http://www.unix-ag.org/Linux-Alpha/Packages/
PATCHFILES= mpg123-059r-v6-20000713b.diff.gz l3.diff.gz
-PATCH_DIST_STRIP= -p1
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.mpg123.de/
@@ -44,6 +43,9 @@ MAKE_ENV+= CPPFLAGS="-DINET6"
MAKE_FLAGS+= PREFIX="${PREFIX}"
+pre-patch:
+ ${LN} -s . ${WRKSRC}/mpg123
+
post-patch:
${CP} ${FILESDIR}/decode_i586_.s ${WRKSRC}/
cd ${WRKSRC} ; ${MV} decode_i586.s decode_i586.s.orig ;\