From owner-freebsd-ports@FreeBSD.ORG Mon Jun 2 00:39:43 2003 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 1060737B404 for ; Mon, 2 Jun 2003 00:39:43 -0700 (PDT) Received: from mailout08.sul.t-online.com (mailout08.sul.t-online.com [194.25.134.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C33443FD7 for ; Mon, 2 Jun 2003 00:39:40 -0700 (PDT) (envelope-from Alexander@Leidinger.net) Received: from fwd08.sul.t-online.de by mailout08.sul.t-online.com with smtp id 19Mjur-00058a-06; Mon, 02 Jun 2003 09:39:37 +0200 Received: from Andro-Beta.Leidinger.net (520065502893-0001@[80.131.116.175]) by fmrl08.sul.t-online.com with esmtp id 19Mjud-2COo64C; Mon, 2 Jun 2003 09:39:23 +0200 Received: from Magelan.Leidinger.net (Magelan [192.168.1.1]) h527dMSa015184; Mon, 2 Jun 2003 09:39:22 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Magelan.Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.12.9/8.12.9) with SMTP id h527dLTA000771; Mon, 2 Jun 2003 09:39:22 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Mon, 2 Jun 2003 09:39:21 +0200 From: Alexander Leidinger To: Spork Message-Id: <20030602093921.0984ec28.Alexander@Leidinger.net> In-Reply-To: <20030601182923.K321@green.nat.fasttrackmonkey.com> References: <20030601182923.K321@green.nat.fasttrackmonkey.com> X-Mailer: Sylpheed version 0.8.10claws (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Sender: 520065502893-0001@t-dialin.net cc: freebsd-ports@freebsd.org Subject: Re: faad port and xmms plugin 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: Mon, 02 Jun 2003 07:39:43 -0000 On Sun, 1 Jun 2003 18:42:07 -0400 (EDT) Spork wrote: > root@green[/usr/ports/audio/faad/work/faad2/plugins/xmms]# make > gcc -shared -o libaac-XMMS.so aac-XMMS.c -I/usr/local/include/glib12 > -I/usr/local/X11R6/include/gtk12 -I/usr/local/include -I/usr/X11R6/include > -lid3 -lz > aac-XMMS.c: In function `aac_decode_loop': > aac-XMMS.c:261: warning: passing arg 4 of `faacDecInit' from incompatible > pointer type > /usr/libexec/elf/ld: cannot find -lid3 > *** Error code 1 There should be "-L/usr/local/lib" in the gcc command line, else gcc isn't able to detect the presence of the lib. You may have to patch the Makefile(.in) in work/faad2/plugins/xmms for this. Please have a look at the porters handbook how to produce a patch suitable for inclusion into the ports "files" dir and post it here. And while you're doing this, you could add the id3 lib to LIB_DEPENDS in the Makefile of the port, protected similar like mikmod or vorbis in the xmms port. I think you also have to add an option to CONFIGURE_ARGS to build the plugin automatically (also protected like mikmod in the xmms port). After that you just have to add the plugin to pkg-plist (also like the mikmod parts in the xmms port). Bye, Alexander. -- I believe the technical term is "Oops!" http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7