Date: Sat, 7 Jul 2018 14:14:06 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r474087 - head/audio/osalp Message-ID: <201807071414.w67EE6KZ051847@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Sat Jul 7 14:14:06 2018 New Revision: 474087 URL: https://svnweb.freebsd.org/changeset/ports/474087 Log: - Switch to USES=localbase - Fix build with clang 6 - Cosmetic fixes Modified: head/audio/osalp/Makefile Modified: head/audio/osalp/Makefile ============================================================================== --- head/audio/osalp/Makefile Sat Jul 7 13:52:59 2018 (r474086) +++ head/audio/osalp/Makefile Sat Jul 7 14:14:06 2018 (r474087) @@ -14,13 +14,13 @@ RUN_DEPENDS= mpg123:audio/mpg123 LIB_DEPENDS= libmp3lame.so:audio/lame \ libvorbis.so:audio/libvorbis -USES= libtool +USES= libtool localbase:ldflags GNU_CONFIGURE= yes -CFLAGS+= -fPIC -DPIC -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --enable-all +CFLAGS+= -fPIC -DPIC +CXXFLAGS+= -Wno-c++11-narrowing + USE_LDCONFIG= yes PLIST_SUB= VERSION=${PORTVERSION} @@ -28,14 +28,14 @@ PLIST_SUB= VERSION=${PORTVERSION} CONFLICTS= libaudiofile-[0-9]* post-patch: - ${FIND} ${WRKSRC} -name "*.cc" | ${XARGS} ${REINPLACE_CMD} -E \ + @${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 \ + @${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?201807071414.w67EE6KZ051847>