View | Details | Raw Unified | Return to bug 169126
Collapse All | Expand All

(-)multimedia/libvpx/Makefile (-3 / +3 lines)
Lines 14-21 DISTNAME= ${PORTNAME}-v${PORTVERSION} Link Here
14
MAINTAINER=	ashish@FreeBSD.org
14
MAINTAINER=	ashish@FreeBSD.org
15
COMMENT=	VP8 Codec SDK
15
COMMENT=	VP8 Codec SDK
16
16
17
BUILD_DEPENDS=	${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash \
17
BUILD_DEPENDS=	bash:${PORTSDIR}/shells/bash \
18
		${LOCALBASE}/bin/yasm:${PORTSDIR}/devel/yasm
18
		yasm:${PORTSDIR}/devel/yasm
19
19
20
USE_BZIP2=	yes
20
USE_BZIP2=	yes
21
PROJECTHOST=	webm
21
PROJECTHOST=	webm
Lines 83-89 post-patch: Link Here
83
	@${REINPLACE_CMD} 's|\(link_with_cc\)=gcc|\1=$${CC}|' \
83
	@${REINPLACE_CMD} 's|\(link_with_cc\)=gcc|\1=$${CC}|' \
84
		${WRKSRC}/build/make/configure.sh
84
		${WRKSRC}/build/make/configure.sh
85
	@${GREP} -Rl '^#!/bin/bash' ${WRKSRC} |${XARGS} ${REINPLACE_CMD} \
85
	@${GREP} -Rl '^#!/bin/bash' ${WRKSRC} |${XARGS} ${REINPLACE_CMD} \
86
		-e 's,#!/bin/bash,#!${LOCALBASE}/bin/bash,g'
86
		-e 's,#!/bin/bash,#!/usr/bin/env bash,g'
87
.if ${OSVERSION} < 700000
87
.if ${OSVERSION} < 700000
88
	@${GREP} -Rl 'LIBVPX_SO.*extralibs' ${WRKSRC} |${XARGS} ${REINPLACE_CMD} \
88
	@${GREP} -Rl 'LIBVPX_SO.*extralibs' ${WRKSRC} |${XARGS} ${REINPLACE_CMD} \
89
		-e 's/\(LIBVPX_SO.*extralibs[[:space:]]*+=[[:space:]]*\)/\1-lc /g'
89
		-e 's/\(LIBVPX_SO.*extralibs[[:space:]]*+=[[:space:]]*\)/\1-lc /g'
(-)multimedia/libvpx/files/patch-zsh (+11 lines)
Added Link Here
1
--- build/make/configure.sh~
2
+++ build/make/configure.sh
3
@@ -1072,7 +1072,7 @@
4
 print_webm_license() {
5
     local destination=$1
6
     local prefix=$2
7
-    local suffix=$3
8
+    local suffix="$3"
9
     shift 3
10
     cat <<EOF > ${destination}
11
 ${prefix} Copyright (c) 2011 The WebM project authors. All Rights Reserved.${suffix}

Return to bug 169126