From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jul 20 12:00:23 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5276116A4CF for ; Tue, 20 Jul 2004 12:00:23 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 387D643D62 for ; Tue, 20 Jul 2004 12:00:23 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i6KC0N5P037421 for ; Tue, 20 Jul 2004 12:00:23 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i6KC0Nup037420; Tue, 20 Jul 2004 12:00:23 GMT (envelope-from gnats) Resent-Date: Tue, 20 Jul 2004 12:00:23 GMT Resent-Message-Id: <200407201200.i6KC0Nup037420@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Guido Falsi Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1AF5D16A4CE for ; Tue, 20 Jul 2004 11:58:03 +0000 (GMT) Received: from mail.dada.it (mail2.dada.it [195.110.100.2]) by mx1.FreeBSD.org (Postfix) with SMTP id 1AB2443D1F for ; Tue, 20 Jul 2004 11:58:02 +0000 (GMT) (envelope-from mad@madpilot.net) Received: (qmail 31880 invoked from network); 20 Jul 2004 11:57:58 -0000 Received: from unknown (HELO madpilot.net) (195.110.114.197) by mail.dada.it with SMTP; 20 Jul 2004 11:57:58 -0000 Received: (qmail 82405 invoked from network); 20 Jul 2004 11:57:59 -0000 Received: from wedge.madpilot.net (192.168.13.11) by 0 with SMTP; 20 Jul 2004 11:57:59 -0000 Received: from wedge.madpilot.net (localhost.madpilot.net [127.0.0.1]) by wedge.madpilot.net (8.12.11/8.12.11) with ESMTP id i6KBvx9l003925 for ; Tue, 20 Jul 2004 13:57:59 +0200 (CEST) (envelope-from mad@wedge.madpilot.net) Received: (from mad@localhost) by wedge.madpilot.net (8.12.11/8.12.11/Submit) id i6KBvxZA003924; Tue, 20 Jul 2004 13:57:59 +0200 (CEST) (envelope-from mad) Message-Id: <200407201157.i6KBvxZA003924@wedge.madpilot.net> Date: Tue, 20 Jul 2004 13:57:59 +0200 (CEST) From: Guido Falsi To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/69340: [maintainer-update] fix bluetooth stack detection X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Guido Falsi List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jul 2004 12:00:23 -0000 >Number: 69340 >Category: ports >Synopsis: [maintainer-update] fix bluetooth stack detection >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue Jul 20 12:00:22 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Guido Falsi >Release: FreeBSD 5.2-CURRENT i386 >Organization: none >Environment: System: FreeBSD wedge.madpilot.net 5.2-CURRENT FreeBSD 5.2-CURRENT #3: Tue Jul 13 16:27:54 CEST 2004 root@wedge.madpilot.net:/usr/obj/usr/src/sys/WEDGE i386 >Description: Fix the detection of the bluetooth stack in this port. I'm not bumping portrevision since there's no functionality change, but the installed binaries DO differ. This is still untested on any architecture other than i386, so any testing is encouraged! >How-To-Repeat: >Fix: diff -ruN openobex.old/Makefile openobex/Makefile --- openobex.old/Makefile Sat Jul 17 19:52:16 2004 +++ openobex/Makefile Sat Jul 17 19:52:47 2004 @@ -14,8 +14,8 @@ MAINTAINER= mad@madpilot.net COMMENT= Open source implementation of the OBEX protocol -WANT_AUTOCONF_VER= 253 -WANT_AUTOMAKE_VER= 14 +USE_AUTOCONF_VER= 253 +USE_AUTOMAKE_VER= 14 WANT_LIBTOOL_VER= 15 USE_GMAKE= yes INSTALLS_SHLIB= yes diff -ruN openobex.old/files/patch-aclocal.m4 openobex/files/patch-aclocal.m4 --- openobex.old/files/patch-aclocal.m4 Sat Jul 17 19:52:16 2004 +++ openobex/files/patch-aclocal.m4 Sat Jul 17 19:52:47 2004 @@ -1,6 +1,6 @@ ---- aclocal.m4.orig Mon Mar 22 16:19:39 2004 -+++ aclocal.m4 Mon Mar 22 16:22:51 2004 -@@ -67,6 +67,35 @@ +--- aclocal.m4.orig Wed Jun 16 19:59:04 2004 ++++ aclocal.m4 Wed Jun 16 20:26:17 2004 +@@ -67,6 +67,36 @@ BLUETOOTH_HOOK([],failure) ]) @@ -9,7 +9,8 @@ +AC_DEFUN([FREEBSD_BLUETOOTH_HOOK],[ + AC_MSG_CHECKING([for the FreeBSD/netgraph bluetooth support]) + echo -+ AC_CACHE_CHECK(for the struct sockaddr_rfcomm in , ac_cv_have_sockaddr_rfcomm, ++ AC_CHECK_LIB(bluetooth, bt_aton, ++ [AC_CACHE_CHECK(for the struct sockaddr_rfcomm in , ac_cv_have_sockaddr_rfcomm, + [AC_TRY_COMPILE([#include + #include + #include @@ -24,10 +25,10 @@ + AC_DEFINE(HAVE_BLUETOOTH) + AC_DEFINE(HAVE_BLUETOOTH_NETGRAPH,1,[Compile on FreeBSD]) + USE_BLUETOOTH="yes" -+ AC_CHECK_LIB(bluetooth, bt_aton, -+ [LIBS="$LIBS -lbluetooth" AC_DEFINE(HAVE_BT_ATON,1,[Define to 1 if you have the \`bt_aton' function.])]) ++ LIBS="$LIBS -lbluetooth" ++ AC_DEFINE(HAVE_BT_ATON,1,[Define to 1 if you have the \`bt_aton' function.]) + fi -+]) ++])]) + +AC_DEFUN([FREEBSD_BLUETOOTH_CHECK], [ + FREEBSD_BLUETOOTH_HOOK([],failure) >Release-Note: >Audit-Trail: >Unformatted: