FreeBSD Bugzilla – Attachment 107341 Details for
Bug 148109
[patch] audio/ladspa: avoid custom make targets
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
a.diff
a.diff (text/plain), 1.59 KB, created by
swell.k
on 2010-06-24 11:20:07 UTC
(
hide
)
Description:
a.diff
Filename:
MIME Type:
Creator:
swell.k
Created:
2010-06-24 11:20:07 UTC
Size:
1.59 KB
patch
obsolete
>Index: audio/ladspa/Makefile >=================================================================== >RCS file: /a/.cvsup/ports/audio/ladspa/Makefile,v >retrieving revision 1.14 >diff -u -p -r1.14 Makefile >--- audio/ladspa/Makefile 4 Jun 2010 21:41:40 -0000 1.14 >+++ audio/ladspa/Makefile 24 Jun 2010 09:47:33 -0000 >@@ -17,28 +17,20 @@ COMMENT= Linux Audio Developer's Simple > LICENSE= LGPL21 > LICENSE_FILE= ${WRKSRC}/doc/COPYING > >-WRKSRC= ${WRKDIR}/ladspa_sdk > USE_GMAKE= yes > USE_LDCONFIG= yes >-PROGRAM_FILES= analyseplugin applyplugin listplugins >-PLUGIN_FILES= amp.so delay.so filter.so noise.so sine.so >-PLUGIN_DIR?= ${PREFIX}/lib/ladspa/ >- >-post-patch: >- ${REINPLACE_CMD} -e 's,-ldl,,; s,-O3,${CFLAGS},; s,CPP,CXX,' \ >- ${WRKSRC}/src/makefile > >-do-build: >- cd ${WRKSRC}/src; ${SETENV} ${MAKE_ENV} ${GMAKE} -f makefile targets >+WRKSRC= ${WRKDIR}/ladspa_sdk >+BUILD_WRKSRC= ${WRKSRC}/src >+INSTALL_WRKSRC= ${BUILD_WRKSRC} >+MAKEFILE= makefile >+ALL_TARGET= targets > >-do-install: >- @${INSTALL_DATA} ${WRKSRC}/src/ladspa.h ${PREFIX}/include >-.for file in ${PROGRAM_FILES} >- @${INSTALL_PROGRAM} ${WRKSRC}/bin/${file} ${PREFIX}/bin >-.endfor >- @${MKDIR} ${PLUGIN_DIR} >-.for file in ${PLUGIN_FILES} >- @${INSTALL_DATA} ${WRKSRC}/plugins/${file} ${PLUGIN_DIR} >-.endfor >+post-patch: .SILENT >+ ${REINPLACE_CMD} -e 's,-ldl,,; s,/usr,${PREFIX},; s,-mkdirhier,${INSTALL} -d,; /CFLAGS/s,-O3,,; s,CPP,CXX,' \ >+ -Ee '/CC|CXX[[:space:]]/s,=,?=,; /CFLAGS|CXXFLAGS/s,=,+=,;' \ >+ -e '/install:/,/^$$/{ /(BINARY|PLUGINS)_DIR/s,cp,${INSTALL_PROGRAM},; \ >+ /INCLUDE_DIR/s,cp,${INSTALL_DATA},; }' \ >+ ${WRKSRC}/src/makefile > > .include <bsd.port.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 148109
: 107341