mirror of
https://git.freebsd.org/ports.git
synced 2025-06-20 04:00:41 -04:00
the bsd-user targets on 8 and 9. - Switch emulators/qemu-user-static to be slave of emulators/qemu-sbruno. - Update emulators/qemu-devel to latest upstream release 2.2.0, now w/o bsd-user patches and knob again. (Or at least until the patches are merged upstream...) [1] - Add appropriate CONFLICTS to emulators/qemu too and bump its PORTREVISION. Suggested by: andrew [1] (for the benefit of testing aarch64 guests)
73 lines
2 KiB
Text
73 lines
2 KiB
Text
--- a/configure
|
|
+++ a/configure
|
|
@@ -273,7 +273,7 @@ DSOSUF=".so"
|
|
LDFLAGS_SHARED="-shared"
|
|
modules="no"
|
|
prefix="/usr/local"
|
|
-mandir="\${prefix}/share/man"
|
|
+mandir="\${prefix}/man"
|
|
datadir="\${prefix}/share"
|
|
qemu_docdir="\${prefix}/share/doc/qemu"
|
|
bindir="\${prefix}/bin"
|
|
@@ -2062,7 +2062,7 @@ if test "$gtk" != "no"; then
|
|
if $pkg_config --exists "$gtkx11package >= $gtkversion"; then
|
|
gtk_libs="$gtk_libs -lX11"
|
|
fi
|
|
- libs_softmmu="$gtk_libs $libs_softmmu"
|
|
+ libs_softmmu="$gtk_libs -lintl $libs_softmmu"
|
|
gtk="yes"
|
|
elif test "$gtk" = "yes"; then
|
|
feature_not_found "gtk" "Install gtk2 or gtk3 devel"
|
|
@@ -3500,15 +3500,18 @@ if compile_prog "" "" ; then
|
|
fi
|
|
|
|
# Check if tools are available to build documentation.
|
|
+#if test "$docs" != "no" ; then
|
|
+# if has makeinfo && has pod2man; then
|
|
+# docs=yes
|
|
+# else
|
|
+# if test "$docs" = "yes" ; then
|
|
+# feature_not_found "docs" "Install texinfo and Perl/perl-podlators"
|
|
+# fi
|
|
+# docs=no
|
|
+# fi
|
|
+#fi
|
|
if test "$docs" != "no" ; then
|
|
- if has makeinfo && has pod2man; then
|
|
- docs=yes
|
|
- else
|
|
- if test "$docs" = "yes" ; then
|
|
- feature_not_found "docs" "Install texinfo and Perl/perl-podlators"
|
|
- fi
|
|
- docs=no
|
|
- fi
|
|
+ docs=yes
|
|
fi
|
|
|
|
# Search for bswap_32 function
|
|
@@ -3650,6 +3653,17 @@ fi
|
|
|
|
# check for libusb
|
|
if test "$libusb" != "no" ; then
|
|
+ cat > $TMPC << EOF
|
|
+#include <libusb.h>
|
|
+
|
|
+int main(void) { return libusb_get_port_path(NULL, NULL, NULL, 0); }
|
|
+EOF
|
|
+ if compile_prog "-Werror" "-lusb -pthread" ; then
|
|
+ libusb="yes"
|
|
+ libusb_cflags=""
|
|
+ libusb_libs=-lusb
|
|
+ libs_softmmu="$libs_softmmu $libusb_libs"
|
|
+ else
|
|
if $pkg_config --atleast-version=1.0.13 libusb-1.0; then
|
|
libusb="yes"
|
|
libusb_cflags=$($pkg_config --cflags libusb-1.0)
|
|
@@ -3662,6 +3676,7 @@ if test "$libusb" != "no" ; then
|
|
fi
|
|
libusb="no"
|
|
fi
|
|
+ fi
|
|
fi
|
|
|
|
# check for usbredirparser for usb network redirection support
|