svn commit: r341992 - in branches/2014Q1/audio/osalp: . files
Pietro Cerutti
gahr at FreeBSD.org
Fri Jan 31 13:36:45 UTC 2014
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>
More information about the svn-ports-all
mailing list