ports/161567: [PATCH] audio/pulseaudio: pkg_delete(1) removed
forgotten
John Hein
jhein at symmetricom.com
Fri Oct 14 14:37:14 UTC 2011
gnats wrote:
> http://www.freebsd.org/cgi/query-pr.cgi?pr=161567
To save someone the trouble of hunting this down, the evdev module
gets built/installed if multimedia/v4l_compat is installed.
pulseaudio's looks for linux/input.h to decide whether to build the
evdev module.
As such, the existence of linux/input.h is not really a good
indication of a working evdev.
In any case, the patch to hard-code evdev in pkg-plist is not
appropriate at this time since installations that don't have
multimedia/v4l_compat will have a broken plist as well (the evdev
module won't be installed but the plist will say it is).
An alternate workaround would be to add the attached hunk to
files/patch-configure to forcibly tell it there is no evdev on
freebsd...
-------------- next part --------------
--- configure.orig 2010-11-25 17:59:05.000000000 -0700
+++ configure 2011-10-14 08:11:20.000000000 -0600
@@ -12854,6 +12854,7 @@
# Linux
for ac_header in linux/input.h
do :
+ break # [***]
ac_fn_c_check_header_mongrel "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
if test "x$ac_cv_header_linux_input_h" = x""yes; then :
cat >>confdefs.h <<_ACEOF
@@ -12865,6 +12866,9 @@
fi
done
+# [***] FreeBSD has no evdev driver at this point, but multimedia/compat_v4l
+# installs linux/input.h
+HAVE_EVDEV=0
if test "x$HAVE_EVDEV" = "x1"; then
More information about the freebsd-gnome
mailing list