diff options
author | Diane Bruce <db@FreeBSD.org> | 2008-09-01 17:20:14 +0000 |
---|---|---|
committer | Diane Bruce <db@FreeBSD.org> | 2008-09-01 17:20:14 +0000 |
commit | e0c0a1d11da090cdd679df82f85bbf70f251d914 (patch) | |
tree | 3a5ae42c5c139f67193a067317a0e64199cca099 /multimedia | |
parent | b758a07fb146fedbe65d21047595e5f7599dea1d (diff) | |
download | ports-e0c0a1d11da090cdd679df82f85bbf70f251d914.tar.gz ports-e0c0a1d11da090cdd679df82f85bbf70f251d914.zip |
Notes
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} \ |