aboutsummaryrefslogtreecommitdiffstats
path: root/games/pinedit/files/patch-configure
blob: 1ea5a3fb579ba060ac84887cef6ce83c82de07d3 (plain) (blame)
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
26
27
28
29
30
31
32
33
--- configure.orig  2003-12-10 03:57:52.000000000 -0800
+++ configure   2011-04-02 03:34:59.000000000 -0700
@@ -10710,7 +10710,7 @@
         else
             QT_IS_STATIC="yes"
         fi
-        if test x$QT_IS_STATIC = xno ; then
+        if test "x$QT_IS_STATIC" = "xno" ; then
             QT_IS_DYNAMIC=`ls $QTDIR/lib/*.so 2> /dev/null`
             if test "x$QT_IS_DYNAMIC" = x;  then
                 { { echo "$as_me:$LINENO: error: *** Couldn't find any Qt libraries" >&5
@@ -10758,10 +10758,10 @@
         fi
         ;;
 
-    *linux*)
+    *freebsd*)
         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"
+            QT_LIBS="$QT_LIBS -lXext -lX11 -lm -lSM -lICE -ljpeg"
         fi
         ;;
 
@@ -10814,7 +10814,7 @@
 
 if test x$QT_IS_STATIC = xyes ; then
     OLDLIBS="$LIBS"
-    LIBS="$QT_LDADD"
+    LIBS="$LIBS $QT_LDADD"
     echo "$as_me:$LINENO: checking for XftFontOpen in -lXft" >&5
 echo $ECHO_N "checking for XftFontOpen in -lXft... $ECHO_C" >&6
 if test "${ac_cv_lib_Xft_XftFontOpen+set}" = set; then