Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jul 2004 16:52:27 +0200
From:      Guido Falsi <mad@madpilot.net>
To:        Volker Stolz <vs@FreeBSD.org>
Cc:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/69340: [maintainer-update] fix bluetooth stack detection
Message-ID:  <20040722145227.GA8532@wedge.madpilot.net>
In-Reply-To: <200407220902.i6M92ufg094937@freefall.freebsd.org>
References:  <200407220902.i6M92ufg094937@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--bp/iNruPH9dso1Pn
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Thu, Jul 22, 2004 at 09:02:56AM +0000, Volker Stolz wrote:
> Synopsis: [maintainer-update] fix bluetooth stack detection
> 
> State-Changed-From-To: open->feedback
> State-Changed-By: vs
> State-Changed-When: Thu Jul 22 09:01:41 GMT 2004
> State-Changed-Why: 
> Problem packaging:
> 
> ...
> 
> IIRC, this has something to do with CONFIGURE_ARGS.

Fixed. Attaching corrected update. Sorry it was my error :(

-- 
Guido Falsi <mad@madpilot.net>

--bp/iNruPH9dso1Pn
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="openobex.diff"

diff -ruN openobex.old/Makefile openobex/Makefile
--- openobex.old/Makefile	Sat Jul 17 19:52:16 2004
+++ openobex/Makefile	Thu Jul 22 16:01:07 2004
@@ -14,7 +14,7 @@
 MAINTAINER=	mad@madpilot.net
 COMMENT=	Open source implementation of the OBEX protocol
 
-WANT_AUTOCONF_VER=	253
+USE_AUTOCONF_VER=	253
 WANT_AUTOMAKE_VER=	14
 WANT_LIBTOOL_VER=	15
 USE_GMAKE=		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 <netgraph/.../ng_btsocket.h>, ac_cv_have_sockaddr_rfcomm,
++	AC_CHECK_LIB(bluetooth, bt_aton,
++	[AC_CACHE_CHECK(for the struct sockaddr_rfcomm in <netgraph/.../ng_btsocket.h>, ac_cv_have_sockaddr_rfcomm,
 +	[AC_TRY_COMPILE([#include <sys/types.h>
 +			#include <sys/socket.h>
 +			#include <bitstring.h>
@@ -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)

--bp/iNruPH9dso1Pn--



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