ports/74199: [maintainer update] comme/openobex: make port respect CFLAGS
Guido Falsi
mad at madpilot.net
Sun Nov 21 13:50:22 UTC 2004
>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 at wedge.madpilot.net:/usr/obj/usr/src/sys/WEDGE i386
>Description:
Make the port respect system wide CFLAGS configuration.
Submitted by Simon Barner <barner at 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:
More information about the freebsd-ports-bugs
mailing list