mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
- Fix the build with GCC 4.1
- Mute the target so comment does not show up
This commit is contained in:
parent
4d8b22bd01
commit
2c7caeb1d2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=174405
1 changed files with 4 additions and 2 deletions
|
@ -19,12 +19,14 @@ USE_ZIP= yes
|
||||||
|
|
||||||
WRKSRC= ${WRKDIR}/SoundTouch-${PORTVERSION}
|
WRKSRC= ${WRKDIR}/SoundTouch-${PORTVERSION}
|
||||||
|
|
||||||
post-patch:
|
post-patch: .SILENT
|
||||||
@${REINPLACE_CMD} -e 's|-O3|${CFLAGS}|; s|$$(prefix)/doc|$$(datadir)/doc|' \
|
${REINPLACE_CMD} -e 's|-O3|${CFLAGS}|; s|$$(prefix)/doc|$$(datadir)/doc|' \
|
||||||
${WRKSRC}/source/example/bpm/Makefile.in \
|
${WRKSRC}/source/example/bpm/Makefile.in \
|
||||||
${WRKSRC}/source/example/SoundStretch/Makefile.in \
|
${WRKSRC}/source/example/SoundStretch/Makefile.in \
|
||||||
${WRKSRC}/source/SoundTouch/Makefile.in \
|
${WRKSRC}/source/SoundTouch/Makefile.in \
|
||||||
${WRKSRC}/include/Makefile.in ${WRKSRC}/Makefile.in
|
${WRKSRC}/include/Makefile.in ${WRKSRC}/Makefile.in
|
||||||
|
# Fix for GCC 4.x
|
||||||
|
${REINPLACE_CMD} -e 's|SoundTouch::||' ${WRKSRC}/include/SoundTouch.h
|
||||||
.if defined(NOPORTDOCS)
|
.if defined(NOPORTDOCS)
|
||||||
@${REINPLACE_CMD} -e 's/ install-pkgdocDATA$$//' \
|
@${REINPLACE_CMD} -e 's/ install-pkgdocDATA$$//' \
|
||||||
${WRKSRC}/Makefile.in
|
${WRKSRC}/Makefile.in
|
||||||
|
|
Loading…
Add table
Reference in a new issue