summaryrefslogtreecommitdiffstats
path: root/comms/openobex
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2004-11-24 09:41:03 +0000
committervs <vs@FreeBSD.org>2004-11-24 09:41:03 +0000
commit10f5bc671b14c4229fe6a9b95a89d1ea678e01c9 (patch)
tree7539692637d79d9c82a5cef9bdb1ad48b3dd5def /comms/openobex
parentd0cf732b710505d638b2e83bbc1157ff0ba83e1d (diff)
downloadFreeBSD-ports-10f5bc671b14c4229fe6a9b95a89d1ea678e01c9.zip
FreeBSD-ports-10f5bc671b14c4229fe6a9b95a89d1ea678e01c9.tar.gz
Respect CFLAGS
PR: ports/74199 Submitted by: Simon Barner via maintainer
Diffstat (limited to 'comms/openobex')
-rw-r--r--comms/openobex/files/patch-configure.in12
1 files changed, 9 insertions, 3 deletions
diff --git a/comms/openobex/files/patch-configure.in b/comms/openobex/files/patch-configure.in
index a88c8db..5db48999 100644
--- a/comms/openobex/files/patch-configure.in
+++ b/comms/openobex/files/patch-configure.in
@@ -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"
OpenPOWER on IntegriCloud