1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

- Remove dependency on bash, not required anymore

- Remove old %%DESTDIR%% REINPLACE_CMD from post-patch

PR:		200839
Submitted by:	tijl
This commit is contained in:
Ashish SHUKLA 2015-06-15 04:57:24 +00:00
parent 70aeea84ca
commit d8fe84f936
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=389669

View File

@ -13,8 +13,7 @@ COMMENT= VP8/VP9 Codec SDK
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash \
yasm:${PORTSDIR}/devel/yasm
BUILD_DEPENDS= yasm:${PORTSDIR}/devel/yasm
USES= cpe gmake perl5 shebangfix tar:bzip2
CPE_VENDOR= john_koleszar
@ -88,9 +87,5 @@ IGNORE= no support for ${ARCH} the moment. testing/patches are welcome
post-patch:
@${REINPLACE_CMD} 's|\(link_with_cc\)=gcc|\1=$${CC}|' \
${WRKSRC}/build/make/configure.sh
@${REINPLACE_CMD} -e 's|%%DESTDIR%%|${STAGEDIR}|g' \
${WRKSRC}/build/make/Makefile ${WRKSRC}/libs.mk
@${GREP} -Rl '^#!/bin/bash' ${WRKSRC} |${XARGS} ${REINPLACE_CMD} \
-e 's,#!/bin/bash,#!/usr/bin/env bash,g'
.include <bsd.port.mk>