summaryrefslogtreecommitdiff
path: root/audio/xamp/patches/patch-ai
blob: cebce55fcdcac879ab17e5e2cfad58a218aec131 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
$NetBSD: patch-ai,v 1.5 2004/05/11 12:18:37 wiz Exp $

--- configure.orig	1997-10-26 15:55:34.000000000 +0100
+++ configure
@@ -970,7 +970,7 @@ fi
 #try to guess qt locations
 
 qt_incdirs="/usr/lib/qt/include /usr/local/qt/include /usr/include/qt /usr/include /usr/X11R6/include/X11/qt /usr/X11R6/include/qt $x_includes $QTINC"
-test -n "$QTDIR" && qt_incdirs="$QTDIR/include $QTDIR $qt_incdirs"
+test -n "$QTDIR" && qt_incdirs="$QTDIR/include $QTDIR/include/qt $QTDIR $qt_incdirs"
 
 qt_incdir=NO
 for i in $qt_incdirs;
@@ -1714,6 +1714,11 @@ case "$OS_TYPE" in
     CFLAGS="-O6 -ffast-math -fomit-frame-pointer -DNO_BYTE_SWAPPING ${CFLAGS_ARCH}"
     ;;
 
+  NetBSD)
+    CC="gcc"
+    CFLAGS="${CFLAGS} -DNO_BYTE_SWAPPING"
+    ;;
+
   SunOS)
     if test "$CC" = "gcc"; then
        CFLAGS="-O6"