From owner-freebsd-ports@FreeBSD.ORG Wed Mar 17 02:32:28 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A0AEB16A4CF for ; Wed, 17 Mar 2004 02:32:28 -0800 (PST) Received: from hfep07.dion.ne.jp (hfep07.dion.ne.jp [203.181.105.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id EBA4643D4C for ; Wed, 17 Mar 2004 02:32:27 -0800 (PST) (envelope-from tkato@prontomail.com) Received: from localhost ([218.222.54.31]) by hfep07.dion.ne.jp with SMTP id <20040317103224560.ZDJI@hfep07.dion.ne.jp>; Wed, 17 Mar 2004 19:32:24 +0900 Date: Wed, 17 Mar 2004 19:32:18 +0900 From: KATO Tsuguru To: Edwin Groothuis Message-Id: <20040317193218.2ae49852.tkato@prontomail.com> In-Reply-To: <20040317093624.GJ99582@k7.mavetju> References: <200403170950.12092.frank.liebelt@acst.de> <20040317093624.GJ99582@k7.mavetju> X-Mailer: Sylpheed version 0.9.10 (GTK+ 1.2.10; i386-portbld-freebsd4.9) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: ports@freebsd.org cc: frank.liebelt@acst.de Subject: Re: Compile Error for SDL_IMAGE X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Mar 2004 10:32:28 -0000 It seems incorrect libSDL-1.1 library is made if devel/libusb is installed. This problem can be avoided with this patch. diff -urN /usr/ports/devel/sdl12/files/patch-ac sdl12/files/patch-ac --- /usr/ports/devel/sdl12/files/patch-ac Tue Mar 16 19:06:11 2004 +++ sdl12/files/patch-ac Wed Mar 17 19:23:33 2004 @@ -1,14 +1,5 @@ ---- configure.orig Mon Feb 23 08:32:33 2004 -+++ configure Mon Mar 8 16:17:17 2004 -@@ -19138,7 +19138,7 @@ - - - # This can be used to rebuild libtool when needed --LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" -+LIBTOOL_DEPS="--disable-ltlibs /usr/local/share/libtool13/ltmain.sh" - - # Always use our own libtool. - LIBTOOL='$(SHELL) $(top_builddir)/libtool' +--- configure.orig Mon Feb 23 06:32:33 2004 ++++ configure Wed Mar 17 19:23:24 2004 @@ -21171,7 +21171,7 @@ @@ -29,7 +20,14 @@ ;; *-*-netbsd*) pthread_cflags="-I/usr/pkg/include -D_REENTRANT" -@@ -28401,7 +28401,9 @@ +@@ -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