Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Nov 2004 14:48:06 +0100 (CET)
From:      Guido Falsi <mad@madpilot.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/74199: [maintainer update] comme/openobex: make port respect CFLAGS
Message-ID:  <200411211348.iALDm6YD079235@wedge.madpilot.net>
Resent-Message-ID: <200411211350.iALDoLi5037136@freefall.freebsd.org>

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

>Number:         74199
>Category:       ports
>Synopsis:       [maintainer update] comme/openobex: make port respect CFLAGS
>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:   Sun Nov 21 13:50:21 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Guido Falsi
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
none
>Environment:
System: FreeBSD wedge.madpilot.net 5.3-STABLE FreeBSD 5.3-STABLE #20: Fri Nov 19 21:36:56 CET 2004 root@wedge.madpilot.net:/usr/obj/usr/src/sys/WEDGE i386

>Description:

Make the port respect system wide CFLAGS configuration.

Submitted by Simon Barner <barner@gmx.de>

Many thanks to him!

>How-To-Repeat:
>Fix:

diff -ruN openobex.old/files/patch-configure.in openobex/files/patch-configure.in
--- openobex.old/files/patch-configure.in	Sun Nov 21 14:32:28 2004
+++ openobex/files/patch-configure.in	Sun Nov 21 14:34:27 2004
@@ -1,6 +1,6 @@
---- configure.in.orig	Sun Mar  7 17:07:07 2004
-+++ configure.in	Sun Mar  7 17:07:20 2004
-@@ -39,6 +39,7 @@
+--- configure.in.orig	Wed Oct  1 13:17:13 2003
++++ configure.in	Sat Nov 20 03:25:29 2004
+@@ -39,12 +39,12 @@
  
  IRDA_CHECK
  BLUETOOTH_CHECK
@@ -8,3 +8,9 @@
  
  dnl Configure debug facilities
  AC_ARG_WITH(debug,[  --with-debug=level      Debug level],
+ 	debug_level="$withval", debug_level="")
+ 
+-CFLAGS="-O2"
+ if test "$debug_level" != ""; then
+ 	AC_DEFINE_UNQUOTED([OBEX_DEBUG],$debug_level, [debug level])
+ 	CFLAGS="-g -O1"
>Release-Note:
>Audit-Trail:
>Unformatted:



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