aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/motion
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2010-02-05 19:46:55 +0800
committerdinoex <dinoex@FreeBSD.org>2010-02-05 19:46:55 +0800
commit444a47ba39d176ab6be5d165b2147eacd2897112 (patch)
tree504a172369cfbce84e5c69e3e850ca254982188a /multimedia/motion
parente8713146f4cf4a0ee32660777c7878acf65c44e0 (diff)
downloadfreebsd-ports-gnome-444a47ba39d176ab6be5d165b2147eacd2897112.tar.gz
freebsd-ports-gnome-444a47ba39d176ab6be5d165b2147eacd2897112.tar.zst
freebsd-ports-gnome-444a47ba39d176ab6be5d165b2147eacd2897112.zip
- update to jpeg-8
Diffstat (limited to 'multimedia/motion')
-rw-r--r--multimedia/motion/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/multimedia/motion/Makefile b/multimedia/motion/Makefile
index e1259816cafb..3baa33eba5b9 100644
--- a/multimedia/motion/Makefile
+++ b/multimedia/motion/Makefile
@@ -7,7 +7,7 @@
PORTNAME= motion
PORTVERSION= 3.2.11.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= multimedia
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20-%203.2/${PORTVERSION}
@@ -18,7 +18,7 @@ PATCH_DIST_STRIP= -p1
MAINTAINER= ack@telefonica.net
COMMENT= A motion detection application
-LIB_DEPENDS= jpeg.10:${PORTSDIR}/graphics/jpeg \
+LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg \
avformat.1:${PORTSDIR}/multimedia/ffmpeg
ONLY_FOR_ARCHS= i386 amd64
@@ -57,6 +57,11 @@ CONFIGURE_ARGS= --with-linuxthreads
LIB_DEPENDS+= lthread.[35]:${PORTSDIR}/devel/linuxthreads
.endif
+post-patch:
+# Resolve name collision with jpeg-8
+ ${REINPLACE_CMD} -e 's|jpeg_mem_dest|local_jpeg_mem_dest|' \
+ ${WRKSRC}/picture.c
+
post-install:
.if !exists(${PREFIX}/etc/motion.conf)
${INSTALL_DATA} ${PREFIX}/etc/motion.conf.sample ${PREFIX}/etc/motion.conf