aboutsummaryrefslogtreecommitdiff
path: root/multimedia/recordmydesktop
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2012-11-01 06:24:55 +0000
committerKevin Lo <kevlo@FreeBSD.org>2012-11-01 06:24:55 +0000
commitde532f4c7edf025bb2b75328e5c84e8fb303d3e2 (patch)
tree468ff1984ec6b9c787e6ac83de17cd9321c1ec3c /multimedia/recordmydesktop
parent2c0ab2554c9bb951dd564bbf8b19015703728d09 (diff)
downloadports-de532f4c7edf025bb2b75328e5c84e8fb303d3e2.tar.gz
ports-de532f4c7edf025bb2b75328e5c84e8fb303d3e2.zip
Notes
Diffstat (limited to 'multimedia/recordmydesktop')
-rw-r--r--multimedia/recordmydesktop/Makefile9
-rw-r--r--multimedia/recordmydesktop/files/patch-config.h.in12
-rw-r--r--multimedia/recordmydesktop/files/patch-configure14
3 files changed, 28 insertions, 7 deletions
diff --git a/multimedia/recordmydesktop/Makefile b/multimedia/recordmydesktop/Makefile
index 4d99e4750419..f58f873918be 100644
--- a/multimedia/recordmydesktop/Makefile
+++ b/multimedia/recordmydesktop/Makefile
@@ -1,13 +1,8 @@
-# New ports collection makefile for: recordmydesktop
-# Date created: 18 July 2007
-# Whom: Kevin Lo <kevlo@FreeBSD.org>
-#
# $FreeBSD$
-#
PORTNAME= recordmydesktop
DISTVERSION= 0.3.8.1
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= multimedia
MASTER_SITES= SF
@@ -21,7 +16,7 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-oss=yes \
--enable-jack=yes
-MAN1= recordmydesktop.1
+MAN1= recordmydesktop.1
USE_XORG= ice sm x11 xext xextproto xfixes xdamage
PLIST_FILES= bin/recordmydesktop
diff --git a/multimedia/recordmydesktop/files/patch-config.h.in b/multimedia/recordmydesktop/files/patch-config.h.in
new file mode 100644
index 000000000000..2f934726568e
--- /dev/null
+++ b/multimedia/recordmydesktop/files/patch-config.h.in
@@ -0,0 +1,12 @@
+--- config.h.in.orig 2012-11-01 13:10:46.000000000 +0800
++++ config.h.in 2012-11-01 13:11:44.000000000 +0800
+@@ -34,6 +34,9 @@
+ /* Define to 1 if you have the `SM' library (-lSM). */
+ #undef HAVE_LIBSM
+
++/* Define to 1 if you have the `jack' library (-ljack). */
++#undef HAVE_LIBJACK
++
+ /* Define to 1 if you have the `theora' library (-ltheora). */
+ #undef HAVE_LIBTHEORA
+
diff --git a/multimedia/recordmydesktop/files/patch-configure b/multimedia/recordmydesktop/files/patch-configure
new file mode 100644
index 000000000000..0618708941eb
--- /dev/null
+++ b/multimedia/recordmydesktop/files/patch-configure
@@ -0,0 +1,14 @@
+--- configure.orig 2012-11-01 10:31:35.000000000 +0800
++++ configure 2012-11-01 10:32:15.000000000 +0800
+@@ -8720,6 +8720,11 @@
+ { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_jack_jack_activate" >&5
+ $as_echo "$ac_cv_lib_jack_jack_activate" >&6; }
+ if test "x$ac_cv_lib_jack_jack_activate" = x""yes; then
++ cat >>confdefs.h <<_ACEOF
++#define HAVE_LIBJACK 1
++_ACEOF
++
++ LIBS="-ljack $LIBS"
+ jack_lib_found=true
+ fi
+