aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2012-11-01 14:24:55 +0800
committerkevlo <kevlo@FreeBSD.org>2012-11-01 14:24:55 +0800
commit1199d81de60cf416a49eb5d8759f5b442fe6ac3a (patch)
tree468ff1984ec6b9c787e6ac83de17cd9321c1ec3c
parentbfa63c1d4fc9edcc838a180bd52d27b0ea69df45 (diff)
downloadfreebsd-ports-gnome-1199d81de60cf416a49eb5d8759f5b442fe6ac3a.tar.gz
freebsd-ports-gnome-1199d81de60cf416a49eb5d8759f5b442fe6ac3a.tar.zst
freebsd-ports-gnome-1199d81de60cf416a49eb5d8759f5b442fe6ac3a.zip
Link to libjack library as stated in LIB_DEPENDS.
Reported by: Gabor ZAHEMSZKY <Gabor at Zahemszky dot hU> Feature safe: yes
-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
+