FreeBSD Bugzilla – Attachment 157818 Details for
Bug 200924
audio/wavegain: mark ONLY_FOR_ARCHS, simplify
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
wavegain.patch (text/plain), 1.56 KB, created by
Dmitry Marakasov
on 2015-06-16 23:41:43 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Dmitry Marakasov
Created:
2015-06-16 23:41:43 UTC
Size:
1.56 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 389853) >+++ Makefile (working copy) >@@ -12,26 +12,21 @@ > > LIB_DEPENDS= libsndfile.so:${PORTSDIR}/audio/libsndfile > >+ONLY_FOR_ARCHS= i386 amd64 >+ONLY_FOR_ARCHS_REASON= uses x86 assembly >+ > USES= gmake dos2unix zip > DOS2UNIX_FILES= audio.c wavegain.c > > PLIST_FILES= bin/wavegain > >-WRKSRC= ${WRKDIR}/WaveGain-${PORTVERSION} >+WRKSRC= ${WRKDIR}/WaveGain-${PORTVERSION} > >-.include <bsd.port.pre.mk> >+do-build: >+ @cd ${WRKSRC} && ${CC} ${CFLAGS} *.c -o ${PORTNAME} \ >+ -DHAVE_CONFIG_H -lm -lsndfile -L${LOCALBASE}/lib > >-.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64" >-BROKEN= Does not compile on ia64, powerpc, or sparc64 >-.endif >- >-post-patch: >- @${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|" ${WRKSRC}/Makefile.linux >- >-do-configure: >- @cd ${WRKSRC} && ${CP} Makefile.linux Makefile >- > do-install: > ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin > >-.include <bsd.port.post.mk> >+.include <bsd.port.mk> >Index: files/patch-Makefile.linux >=================================================================== >--- files/patch-Makefile.linux (revision 389853) >+++ files/patch-Makefile.linux (working copy) >@@ -1,11 +0,0 @@ >---- Makefile.linux.orig 2005-11-30 12:17:14.000000000 +0100 >-+++ Makefile.linux 2013-08-28 13:02:43.817494398 +0200 >-@@ -1,5 +1,7 @@ >-+CC ?= cc >-+ >- all: >-- gcc *.c -o wavegain -DHAVE_CONFIG_H -lm -lsndfile >-+ ${CC} *.c -o wavegain -DHAVE_CONFIG_H -lm -lsndfile -L%%LOCALBASE%%/lib >- >- install: >- install -d /usr/bin/
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 200924
: 157818