Feature request #382

Improve build support for NetBSD

Added by brook-nmsu-edu - over 16 years ago. Updated over 13 years ago.

Assignee:Gary Sherman
Pull Request or Patch supplied: Resolution:fixed
Easy fix?:No Copied to github as #:10441


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

+  *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
+    ;;
     if test $QT_IS_STATIC = yes && test $QT_IS_EMBEDDED = no; then


#1 Updated by Gavin Macaulay - over 16 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 over 16 years ago

The freebsd support is in acinclude.m4, but not netbsd.

I applied the patch.

#3 Updated by Anonymous over 13 years ago

Milestone Version 0.8 deleted

Also available in: Atom PDF