Compile Error for SDL_IMAGE
KATO Tsuguru
tkato at prontomail.com
Wed Mar 17 05:09:34 PST 2004
On Wed, 17 Mar 2004 11:58:28 +0100
Frank Liebelt <frank.liebelt at 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"
More information about the freebsd-ports
mailing list