1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

Unbreak build on -STABLE (partly by fixing the incorrect PERL->REINPLACE_CMD

substitution).

PR:		55475
Submitted by:	Michael Hsin <mhsin@mhsin.org>
This commit is contained in:
Gerald Pfeifer 2003-09-23 09:08:06 +00:00
parent 71225ba5ab
commit 37ad838ffa
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=89119

View File

@ -58,9 +58,11 @@ pre-extract:
post-configure:
${REINPLACE_CMD} -Ee 's,^(TARGET_CONFIGDIRS\s*=),\1#,' \
${WRKSRC}/Makefile
${REINPLACE_CMD} -Ee 's,^(install-info:),\1\ndonot-\1,; \
s,\$$\(bindir\)/(\$$\(DEMANGLER_CROSS_NAME\)),./\1,' \
${PERL} -i -ne 's/^(install-info:)/\1\ndonot-\1/; print' ${WRKSRC}/gcc/Makefile
${REINPLACE_CMD} -Ee 's,\$$\(bindir\)/(\$$\(DEMANGLER_CROSS_NAME\)),./\1,' \
${WRKSRC}/gcc/Makefile
${REINPLACE_CMD} -Ee 's/^(TARGET_CONFIGDIRS =)/\1#/' \
${WRKSRC}/Makefile
post-install:
@${MV} ${PREFIX}/bin/cpp ${PREFIX}/bin/${PKGNAMEPREFIX}cpp