1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00

Link to libjack library as stated in LIB_DEPENDS.

Reported by:	Gabor ZAHEMSZKY <Gabor at Zahemszky dot hU>
Feature safe:	yes
This commit is contained in:
Kevin Lo 2012-11-01 06:24:55 +00:00
parent 2c0ab2554c
commit de532f4c7e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=306779
3 changed files with 28 additions and 7 deletions

View File

@ -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

View File

@ -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

View File

@ -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