mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
- Correctly detect infrared control interface lirc
(by Daniel O'Connor <doconnor@gsoft.com.au>). - Remove obsolete "--disable-tremor" from CONFIGURE_ARGS. PR: ports/86664 Submitted by: maintainer
This commit is contained in:
parent
a6940bdf94
commit
7715ef0993
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=143680
@ -178,6 +178,9 @@
|
||||
# WITH_LIBDV
|
||||
# default: autodetect
|
||||
#
|
||||
# WITH_LIRC
|
||||
# default: autodetect
|
||||
#
|
||||
# WITH_MAD
|
||||
# default: autodetect
|
||||
#
|
||||
@ -303,8 +306,7 @@ CONFIGURE_ARGS= --with-extralibdir=${LOCALBASE}/lib \
|
||||
--enable-menu \
|
||||
--disable-libfame \
|
||||
--disable-external-faad \
|
||||
--disable-tv-v4l \
|
||||
--disable-tremor
|
||||
--disable-tv-v4l
|
||||
|
||||
.if !defined(MPLAYER_GENERIC_BUILD)
|
||||
.if defined(WITHOUT_X11)
|
||||
@ -388,6 +390,10 @@ WITH_LIBDV= yes
|
||||
WITH_LIBUNGIF= yes
|
||||
.endif
|
||||
|
||||
.if exists(${LOCALBASE}/lib/liblirc_client.so.0)
|
||||
WITH_LIRC= yes
|
||||
.endif
|
||||
|
||||
.if exists(${LOCALBASE}/lib/libmad.so.2)
|
||||
WITH_MAD= yes
|
||||
.endif
|
||||
@ -656,6 +662,13 @@ CONFIGURE_ARGS+= --enable-libdv
|
||||
CONFIGURE_ARGS+= --disable-libdv
|
||||
.endif
|
||||
|
||||
.if defined(WITH_LIRC)
|
||||
LIB_DEPENDS+= lirc_client.0:${PORTSDIR}/comms/lirc
|
||||
CONFIGURE_ARGS+= --enable-lirc
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-lirc
|
||||
.endif
|
||||
|
||||
.if defined(WITH_MAD)
|
||||
LIB_DEPENDS+= mad.2:${PORTSDIR}/audio/libmad
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- configure.orig Wed Apr 13 07:46:35 2005
|
||||
+++ configure Thu Jun 2 23:54:17 2005
|
||||
--- configure.orig Wed Apr 13 13:46:35 2005
|
||||
+++ configure Tue Sep 27 21:31:54 2005
|
||||
@@ -29,9 +29,9 @@
|
||||
echo >> "$TMPLOG"
|
||||
cat "$TMPC" >> "$TMPLOG"
|
||||
@ -189,3 +189,19 @@
|
||||
fi
|
||||
# 64 bit file offsets?
|
||||
if test "$_largefiles" = yes || freebsd ; then
|
||||
@@ -6640,13 +6582,11 @@
|
||||
echocheck "lirc"
|
||||
if test "$_lirc" = auto ; then
|
||||
_lirc=no
|
||||
- if test -c /dev/lirc -o -c /dev/lirc/0 ; then
|
||||
- cat > $TMPC <<EOF
|
||||
+ cat > $TMPC <<EOF
|
||||
#include <lirc/lirc_client.h>
|
||||
int main(void) { return 0; }
|
||||
EOF
|
||||
- cc_check -llirc_client && _lirc=yes
|
||||
- fi
|
||||
+ cc_check -llirc_client && _lirc=yes
|
||||
fi
|
||||
if test "$_lirc" = yes ; then
|
||||
_def_lirc='#define HAVE_LIRC 1'
|
||||
|
Loading…
Reference in New Issue
Block a user