diff options
author | db <db@FreeBSD.org> | 2008-09-02 01:20:14 +0800 |
---|---|---|
committer | db <db@FreeBSD.org> | 2008-09-02 01:20:14 +0800 |
commit | 8d0fb07110148391158ce38afb482c6fc57ece2e (patch) | |
tree | 88497530fe54a9c399cd51e2e2529826cabe00b9 /multimedia | |
parent | 5e36c61004ed3ee23cbd28531cc934b8cb90308b (diff) | |
download | freebsd-ports-gnome-8d0fb07110148391158ce38afb482c6fc57ece2e.tar.gz freebsd-ports-gnome-8d0fb07110148391158ce38afb482c6fc57ece2e.tar.zst freebsd-ports-gnome-8d0fb07110148391158ce38afb482c6fc57ece2e.zip |
- Fix multimedia/transcode configure failure locating libavcodec on 6.x [1]
- Add @ in front of LZO REPLACE_CMD to quieten down the build a bit.
PR: ports/126310
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/transcode/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/multimedia/transcode/Makefile b/multimedia/transcode/Makefile index f05f53e86daf..ab668646f306 100644 --- a/multimedia/transcode/Makefile +++ b/multimedia/transcode/Makefile @@ -45,6 +45,10 @@ MAN1= avifix.1 aviindex.1 avimerge.1 avisplit.1 avisync.1 tccat.1 tcdemux.1 \ .include <bsd.port.pre.mk> +.if ${OSVERSION} < 700000 +CONFIGURE_ENV+= LIBAVCODEC_EXTRA_LIBS="-pthread" +.endif + .if (defined(WITH_FREETYPE) || exists(${LOCALBASE}/lib/libfreetype.so)) && !defined(WITHOUT_FREETYPE) LIB_DEPENDS+= freetype.9:${PORTSDIR}/print/freetype2 CONFIGURE_ARGS+= --with-ft-prefix=${LOCALBASE} --enable-freetype2 @@ -266,9 +270,9 @@ pre-everything:: post-patch: .if defined(WITH_LZO) || (exists(${LOCALBASE}/lib/liblzo2.so) && !defined(WITHOUT_LZO)) - ${REINPLACE_CMD} -e 's|%%NUV%%|nuv|' ${WRKSRC}/import/Makefile.in + @${REINPLACE_CMD} -e 's|%%NUV%%|nuv|' ${WRKSRC}/import/Makefile.in .else - ${REINPLACE_CMD} -e 's|%%NUV%%||' ${WRKSRC}/import/Makefile.in + @${REINPLACE_CMD} -e 's|%%NUV%%||' ${WRKSRC}/import/Makefile.in .endif .if !defined(WITH_OPTIMIZED_CFLAGS) @${FIND} ${WRKSRC} -type f | ${XARGS} -n 10 -x ${REINPLACE_CMD} \ |