ports/131496: [PATCH] audio/mp3burn: fix automaitic swab detection on FreeBSD

Dennis Herrmann adox at mcx2.org
Sun Feb 8 18:10:03 UTC 2009


The following reply was made to PR ports/131496; it has been noted by GNATS.

From: Dennis Herrmann <adox at mcx2.org>
To: bug-followup at FreeBSD.org
Cc: tobias.rehbein at web.de
Subject: Re: ports/131496: [PATCH] audio/mp3burn: fix automaitic swab
	detection on FreeBSD
Date: Sun, 8 Feb 2009 19:02:45 +0100

 Thanks Tobias Rehbein for this patch :). But the way over
 post-patch: is nicer :-)
 
 	- fix automaitic swab detection on FreeBSD
 	- fix MASTER_SITES_SOURCEFORGE to SF
 	- bump PORTREVISION
 
 --- mp3burn_fix-uname.diff begins here ---
 Index: Makefile
 ===================================================================
 RCS file: /home/pcvs/ports/audio/mp3burn/Makefile,v
 retrieving revision 1.8
 diff -u -u -r1.8 Makefile
 --- Makefile	1 Nov 2008 22:13:32 -0000	1.8
 +++ Makefile	8 Feb 2009 17:39:03 -0000
 @@ -6,9 +6,9 @@
  
  PORTNAME=	mp3burn
  PORTVERSION=	0.4.2
 +PORTREVISION=	1
  CATEGORIES=	audio
 -MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 -MASTER_SITE_SUBDIR=	${PORTNAME}
 +MASTER_SITES=	SF
  
  MAINTAINER=	adox at mcx2.org
  COMMENT=	Command line tool for making audio CDs from mp3s
 @@ -29,7 +29,9 @@
  PLIST_FILES=	bin/mp3burn
  
  post-patch:
 -	@${PERL} -pi -e 's|/usr/bin/perl|${PERL}|' ${WRKSRC}/mp3burn
 +	@${REINPLACE_CMD} -e 's|/usr/bin/perl|${PERL}|g' \
 +		-e 's|/bin/uname|/usr/bin/uname|g' \
 +		-e 's|x86_64|amd64|g' ${WRKSRC}/${PORTNAME}
  
  do-install:
  	${INSTALL_SCRIPT} ${WRKSRC}/mp3burn ${PREFIX}/bin
 --- mp3burn_fix-uname.diff ends here ---



More information about the freebsd-ports-bugs mailing list