aboutsummaryrefslogtreecommitdiff
path: root/multimedia/transcode
diff options
context:
space:
mode:
authorDiane Bruce <db@FreeBSD.org>2008-08-15 22:42:37 +0000
committerDiane Bruce <db@FreeBSD.org>2008-08-15 22:42:37 +0000
commitb33fd50e926086ce880090b1f077846f3fe627d8 (patch)
tree90e017cecd5a0f72856a478b30be522fb3865a0e /multimedia/transcode
parent0d117481de34c3a6eb918f10e1547c263b4ceaeb (diff)
downloadports-b33fd50e926086ce880090b1f077846f3fe627d8.tar.gz
ports-b33fd50e926086ce880090b1f077846f3fe627d8.zip
Notes
Diffstat (limited to 'multimedia/transcode')
-rw-r--r--multimedia/transcode/Makefile7
-rw-r--r--multimedia/transcode/files/patch-import_Makefile.in11
2 files changed, 16 insertions, 2 deletions
diff --git a/multimedia/transcode/Makefile b/multimedia/transcode/Makefile
index e2576068386f..f05f53e86daf 100644
--- a/multimedia/transcode/Makefile
+++ b/multimedia/transcode/Makefile
@@ -21,8 +21,6 @@ LIB_DEPENDS= dvdread.5:${PORTSDIR}/multimedia/libdvdread \
avcodec.1:${PORTSDIR}/multimedia/ffmpeg
BUILD_DEPENDS= iconv:${PORTSDIR}/converters/libiconv
-BROKEN= does not build
-
USE_BZIP2= yes
FAKEDIR= ${WRKDIR}/fake
PLIST= ${WRKDIR}/plist
@@ -267,6 +265,11 @@ pre-everything::
.endif
post-patch:
+.if defined(WITH_LZO) || (exists(${LOCALBASE}/lib/liblzo2.so) && !defined(WITHOUT_LZO))
+ ${REINPLACE_CMD} -e 's|%%NUV%%|nuv|' ${WRKSRC}/import/Makefile.in
+.else
+ ${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} \
-e 's|-O[236]|${CFLAGS}|'
diff --git a/multimedia/transcode/files/patch-import_Makefile.in b/multimedia/transcode/files/patch-import_Makefile.in
new file mode 100644
index 000000000000..203cd2cf56c3
--- /dev/null
+++ b/multimedia/transcode/files/patch-import_Makefile.in
@@ -0,0 +1,11 @@
+--- import/Makefile.in.orig 2008-08-15 00:00:00.000000000 -0400
++++ import/Makefile.in 2008-08-15 00:01:38.000000000 -0400
+@@ -798,7 +798,7 @@
+ @NET_STREAM_TRUE@NET_MOD = import_net.la
+ BSDAV_MOD = import_bsdav.la
+ pkgdir = $(MOD_PATH)
+-SUBDIRS = nuv v4l
++SUBDIRS = v4l %%NUV%%
+ pkg_LTLIBRARIES = \
+ import_avi.la \
+ import_mpeg2.la \