diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2018-07-07 14:14:06 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2018-07-07 14:14:06 +0000 |
commit | 509edf59ed4b878b7f50ed6e5803ba8e5fbd4585 (patch) | |
tree | 58d6f23c4be5b5aef9de2485e96740e7b4c86052 /audio/osalp | |
parent | c42413aa979b87967a85e6fe534feaec6965e904 (diff) | |
download | ports-509edf59ed4b878b7f50ed6e5803ba8e5fbd4585.tar.gz ports-509edf59ed4b878b7f50ed6e5803ba8e5fbd4585.zip |
- Switch to USES=localbase
- Fix build with clang 6
- Cosmetic fixes
Notes
Notes:
svn path=/head/; revision=474087
Diffstat (limited to 'audio/osalp')
-rw-r--r-- | audio/osalp/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/audio/osalp/Makefile b/audio/osalp/Makefile index a07bb8fb4c42..6a55c117ed8e 100644 --- a/audio/osalp/Makefile +++ b/audio/osalp/Makefile @@ -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> |