summaryrefslogtreecommitdiff
path: root/audio/mpg123/Makefile
diff options
context:
space:
mode:
authortron <tron>2001-01-11 07:26:54 +0000
committertron <tron>2001-01-11 07:26:54 +0000
commit5b7495d0fc961fdfd79b36055c1b3cbe34d48802 (patch)
tree6c0a2ba7c7b26b5e7ecdc537cacfaa594470019e /audio/mpg123/Makefile
parent8a566bbc24deca701e67b503bebeb7207d6ec2b5 (diff)
downloadpkgsrc-5b7495d0fc961fdfd79b36055c1b3cbe34d48802.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/mpg123/Makefile')
-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 ;\