FreeBSD Bugzilla – Attachment 139286 Details for
Bug 185512
audio/bmp-flac: Fix build with clang
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.75 KB, created by
tkato432
on 2014-01-05 18:10:04 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
tkato432
Created:
2014-01-05 18:10:04 UTC
Size:
1.75 KB
patch
obsolete
>diff -urN /usr/ports/audio/bmp-flac/Makefile audio/bmp-flac/Makefile >--- /usr/ports/audio/bmp-flac/Makefile 2013-11-25 18:57:49.000000000 +0900 >+++ audio/bmp-flac/Makefile 2014-01-06 00:00:00.000000000 +0900 >@@ -12,22 +12,33 @@ > MAINTAINER= ports@FreeBSD.org > COMMENT= FLAC input plugin for beep-media-player > >-LIB_DEPENDS= libbeep.so:${PORTSDIR}/multimedia/beep-media-player \ >- libFLAC.so:${PORTSDIR}/audio/flac >+LICENSE= GPLv2 > >-PLIST_FILES= lib/bmp/Input/libbmp-flac.so >+LIB_DEPENDS= libFLAC.so:${PORTSDIR}/audio/flac \ >+ libbeep.so:${PORTSDIR}/multimedia/beep-media-player > >-USES= iconv pkgconfig > USE_BZIP2= yes >+USES= iconv pkgconfig > GNU_CONFIGURE= yes > CONFIGURE_ARGS= ${ICONV_CONFIGURE_ARG} \ > --with-ogg="${LOCALBASE}" \ > --with-xmms-prefix="${LOCALBASE}" >- > MAKEFILE= ${FILESDIR}/Makefile > >+CPPFLAGS+= -I${LOCALBASE}/include >+LDFLAGS+= -L${LOCALBASE}/lib >+ >+PLIST_FILES= lib/bmp/Input/libbmp-flac.so >+ >+.include <bsd.port.pre.mk> >+ >+.if ${ARCH} == "sparc64" >+BROKEN= Does not compile with GCC 4.2 >+.endif >+ > post-patch: >- @${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure >+ @${REINPLACE_CMD} -e \ >+ '/xtra_stdcpp/s|-lstdc++||' ${WRKSRC}/configure > > # "obj" is magic to our make(1) > # make sure we get the new includes from ${LOCALBASE}/include/FLAC >@@ -38,12 +49,7 @@ > # This is to avoid libtool running ldconfig -m ${LOCALBASE}/lib/bmp/Input > do-install: > @${MKDIR} ${STAGEDIR}${PREFIX}/lib/bmp/Input >- ${INSTALL_LIB} ${WRKSRC}/src/plugin_bmp/.libs/libbmp-flac.so ${STAGEDIR}${PREFIX}/lib/bmp/Input >- >-.include <bsd.port.pre.mk> >- >-.if ${ARCH} == "sparc64" >-BROKEN= Does not compile with GCC 4.2 >-.endif >+ (cd ${WRKSRC}/src/plugin_bmp/.libs && ${INSTALL_LIB} libbmp-flac.so \ >+ ${STAGEDIR}${PREFIX}/lib/bmp/Input) > > .include <bsd.port.post.mk>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 185512
: 139286