Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Jan 2014 13:36:44 +0000 (UTC)
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r341992 - in branches/2014Q1/audio/osalp: . files
Message-ID:  <201401311336.s0VDaibd023551@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gahr
Date: Fri Jan 31 13:36:44 2014
New Revision: 341992
URL: http://svnweb.freebsd.org/changeset/ports/341992
QAT: https://qat.redports.org/buildarchive/r341992/

Log:
  MFH: r341840
  
  - Fix build on modern compilers [MFH]
  - STAGE-clean
  
  Approved by:    portmgr

Added:
  branches/2014Q1/audio/osalp/files/
     - copied from r341840, head/audio/osalp/files/
Modified:
  branches/2014Q1/audio/osalp/Makefile
Directory Properties:
  branches/2014Q1/   (props changed)

Modified: branches/2014Q1/audio/osalp/Makefile
==============================================================================
--- branches/2014Q1/audio/osalp/Makefile	Fri Jan 31 13:23:40 2014	(r341991)
+++ branches/2014Q1/audio/osalp/Makefile	Fri Jan 31 13:36:44 2014	(r341992)
@@ -21,10 +21,20 @@ LDFLAGS+=	-L${LOCALBASE}/lib
 CONFIGURE_ARGS=	--enable-all
 
 USE_LDCONFIG=	yes
-NO_STAGE=	yes
 
 PLIST_SUB=	VERSION=${PORTVERSION}
 
 CONFLICTS=	libaudiofile-[0-9]*
 
+post-patch:
+	${FIND} ${WRKSRC} -name "*.cc" | ${XARGS} ${REINPLACE_CMD} -E \
+	    's|iostream.h|iostream|; \
+	     s|[[:space:]]cout| std::cout|g; \
+	     s|[[:space:]]endl| std::endl|g; \
+	     s|[[:space:]]cerr| std::cerr|g;'
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libaflib-${PORTVERSION}.so \
+	    ${STAGEDIR}${PREFIX}/lib/aflib/lib*-${PORTVERSION}.so
+
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401311336.s0VDaibd023551>