Ticket #382 (closed patch: fixed)
Improve build support for NetBSD
Description
Improve support for NetBSD (which should be listed as a platform on this trac form). Currently, there are no autoconf macros in place when the system is NetBSD. The following patch introduces a section for defining them. Although the section is the same as for FreeBSD, a distinct section is preferable in case the systems diverge in the future. There should be no side-effects of this patch on other systems, since the code block will be ignored unless the system is NetBSD.
--- acinclude.m4.orig
+++ acinclude.m4
@@ -401,6 +401,15 @@ case "${host}" in
fi
;;
+ *netbsd*)
+ QT_LIBS="$QT_LIB"
+ if test $QT_IS_STATIC = yes && test $QT_IS_EMBEDDED = no; then
+ QT_LIBS="$QT_LIBS -L$x_libraries -lXext -lX11 -lm -lSM -lICE -ldl -ljpeg -lpthread"
+ else
+ QT_LIBS="$QT_LIBS -lpthread"
+ fi
+ ;;
+
*freebsd*)
QT_LIBS="$QT_LIB"
if test $QT_IS_STATIC = yes && test $QT_IS_EMBEDDED = no; then
Change History
Note: See
TracTickets for help on using
tickets.