Feature request #382
Improve build support for NetBSD
| Status: | Closed | ||
|---|---|---|---|
| Priority: | Low | ||
| Assignee: | |||
| Category: | Build/Install | ||
| Pull Request or Patch supplied: | Resolution: | fixed | |
| Easy fix?: | No | Copied to github as #: | 10441 |
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
History
#1
Updated by Gavin Macaulay - almost 19 years ago
- Resolution set to fixed
- Status changed from Open to Closed
Those lines appear to already be in the file.
#2
Updated by Gary Sherman almost 19 years ago
The freebsd support is in acinclude.m4, but not netbsd.
I applied the patch.
#3 Updated by Anonymous about 16 years ago
Milestone Version 0.8 deleted