svn commit: r349191 - head/audio/soundtouch

Chris Rees crees at FreeBSD.org
Tue Mar 25 20:34:25 UTC 2014


Author: crees
Date: Tue Mar 25 20:34:25 2014
New Revision: 349191
URL: http://svnweb.freebsd.org/changeset/ports/349191
QAT: https://qat.redports.org/buildarchive/r349191/

Log:
  Fix build on 11-- clang doesn't recognise -fcheck-new, and g++ manpage says
  it's nearly always unnecessary anyway.
  
  Take maintainer
  
  While here, use pathfix

Modified:
  head/audio/soundtouch/Makefile

Modified: head/audio/soundtouch/Makefile
==============================================================================
--- head/audio/soundtouch/Makefile	Tue Mar 25 20:34:09 2014	(r349190)
+++ head/audio/soundtouch/Makefile	Tue Mar 25 20:34:25 2014	(r349191)
@@ -6,7 +6,7 @@ PORTVERSION=	1.8.0
 CATEGORIES=	audio
 MASTER_SITES=	http://www.surina.net/soundtouch/
 
-MAINTAINER=	ports at FreeBSD.org
+MAINTAINER=	crees at FreeBSD.org
 COMMENT=	Open-source audio processing library
 
 LICENSE=	LGPL21
@@ -19,6 +19,9 @@ AUTOMAKE_ARGS=	--add-missing --copy --fo
 CONFIGURE_ARGS=	--disable-silent-rules
 USE_LDCONFIG=	yes
 
+USES=			pathfix
+PATHFIX_MAKEFILEIN=	Makefile.am
+
 OPTIONS_DEFINE=	INTEGER_SAMPLES DOCS
 OPTIONS_DEFINE_amd64=	SSE
 OPTIONS_DEFINE_i386=	SSE
@@ -31,8 +34,7 @@ SSE_CONFIGURE_ENABLE=	x86-optimizations
 
 post-patch:
 	@${REINPLACE_CMD} -e \
-		'/^pkgdoc_DATA/s|COPYING.TXT|| ; \
-		 s|$$(libdir)/pkgconfig|$$(prefix)/libdata/pkgconfig|' \
+		'/^pkgdoc_DATA/s|COPYING.TXT||' \
 		${WRKSRC}/Makefile.am
 	@${REINPLACE_CMD} -e \
 		's|^INCLUDES|AM_CPPFLAGS| ; \
@@ -40,7 +42,7 @@ post-patch:
 		${WRKSRC}/config/am_include.mk
 .for i in SoundStretch SoundTouch
 	@${REINPLACE_CMD} -e \
-		's|-O[0-9]||' \
+		's|-O[0-9]||;s|-fcheck-new||' \
 		${WRKSRC}/source/${i}/Makefile.am
 .endfor
 


More information about the svn-ports-head mailing list