Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Mar 2004 22:09:23 +0900
From:      KATO Tsuguru <tkato@prontomail.com>
To:        frank.liebelt@acst.de
Cc:        ports@freebsd.org
Subject:   Re: Compile Error for SDL_IMAGE
Message-ID:  <20040317220923.5d3c147a.tkato@prontomail.com>
In-Reply-To: <200403171158.34942.frank.liebelt@acst.de>
References:  <200403170950.12092.frank.liebelt@acst.de> <20040317093624.GJ99582@k7.mavetju> <20040317193218.2ae49852.tkato@prontomail.com> <200403171158.34942.frank.liebelt@acst.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 17 Mar 2004 11:58:28 +0100
Frank Liebelt <frank.liebelt@acst.de> wrote:

> Should i replace it with this what you send?

No, it's for applying patch directly to ports tree.

To replace whole sdl12/files/patch-ac, please use this instead.


--- configure.orig	Mon Feb 23 06:32:33 2004
+++ configure	Wed Mar 17 19:23:24 2004
@@ -21171,7 +21171,7 @@
 
 
 SDL_CFLAGS=""
-SDL_LIBS="-lSDL"
+SDL_LIBS="-lSDL-1.1"
 
 
 case "$target" in
@@ -25926,8 +25926,8 @@
 #            pthread_cflags="-D_REENTRANT -D_THREAD_SAFE"
             ;;
         *-*-freebsd*)
-            pthread_cflags="-D_REENTRANT -D_THREAD_SAFE"
-            pthread_lib="-pthread"
+            pthread_cflags="-D_REENTRANT ${PTHREAD_CFLAGS}"
+            pthread_lib="${PTHREAD_LIBS}"
             ;;
         *-*-netbsd*)
             pthread_cflags="-I/usr/pkg/include -D_REENTRANT"
@@ -28394,14 +28394,13 @@
 fi
 
 
-        if test x$have_usb_h = xyes; then
-            CFLAGS="$CFLAGS -DHAVE_USB_H"
-        fi
         if test x$have_usbhid_h = xyes; then
             CFLAGS="$CFLAGS -DHAVE_USBHID_H"
         fi
         if test x$have_libusb_h = xyes; then
+	    if test x$have_libusbhid_h = xno; then
             CFLAGS="$CFLAGS -DHAVE_LIBUSB_H"
+	    fi
         fi
         if test x$have_libusbhid_h = xyes; then
             CFLAGS="$CFLAGS -DHAVE_LIBUSBHID_H"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040317220923.5d3c147a.tkato>