From mad@madpilot.net  Thu Nov 25 21:42:28 2004
Return-Path: <mad@madpilot.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id AB0BB16A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 25 Nov 2004 21:42:28 +0000 (GMT)
Received: from mx.dada.it (mail2.dada.it [195.110.100.2])
	by mx1.FreeBSD.org (Postfix) with SMTP id 4D9F643D3F
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 25 Nov 2004 21:42:27 +0000 (GMT)
	(envelope-from mad@madpilot.net)
Received: (qmail 23172 invoked from network); 25 Nov 2004 21:42:22 -0000
Received: from unknown (HELO madpilot.net) (195.110.114.197)
  by mail.dada.it with SMTP; 25 Nov 2004 21:42:22 -0000
Received: (qmail 3015 invoked from network); 25 Nov 2004 21:42:24 -0000
Received: from wedge.madpilot.net (192.168.13.11)
  by 0 with SMTP; 25 Nov 2004 21:42:24 -0000
Received: from wedge.madpilot.net (localhost.madpilot.net [127.0.0.1])
	by wedge.madpilot.net (8.13.1/8.12.11) with ESMTP id iAPLgOVV043948
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 25 Nov 2004 22:42:24 +0100 (CET)
	(envelope-from mad@wedge.madpilot.net)
Received: (from mad@localhost)
	by wedge.madpilot.net (8.13.1/8.12.11/Submit) id iAPLgOpH043947;
	Thu, 25 Nov 2004 22:42:24 +0100 (CET)
	(envelope-from mad)
Message-Id: <200411252142.iAPLgOpH043947@wedge.madpilot.net>
Date: Thu, 25 Nov 2004 22:42:24 +0100 (CET)
From: Guido Falsi <mad@madpilot.net>
Reply-To: Guido Falsi <mad@madpilot.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [maintainer-update]: comms/obexapp, make it respect CFLAGS
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         74388
>Category:       ports
>Synopsis:       [maintainer-update]: comms/obexapp, make it respect CFLAGS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 25 21:50:21 GMT 2004
>Closed-Date:    Fri Nov 26 14:57:11 GMT 2004
>Last-Modified:  Fri Nov 26 14:57:11 GMT 2004
>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 port respect CFLAGS.

Since some CFLAGS options could make the compiler generate warnings, also had to add "NO_WERROR" to the software Makefile to stop it bailing out.

>How-To-Repeat:

>Fix:

diff -ruN obexapp.old/files/patch-Makefile obexapp/files/patch-Makefile
--- obexapp.old/files/patch-Makefile	Thu Nov 25 22:25:44 2004
+++ obexapp/files/patch-Makefile	Thu Nov 25 22:38:20 2004
@@ -1,6 +1,6 @@
 --- Makefile.orig	Fri Apr  9 23:09:09 2004
-+++ Makefile	Mon Jul 26 15:54:36 2004
-@@ -1,8 +1,10 @@
++++ Makefile	Thu Nov 25 22:38:10 2004
+@@ -1,11 +1,14 @@
  # $Id: Makefile,v 1.7 2004/04/09 21:09:09 max Exp $
  # $FreeBSD$
  
@@ -13,13 +13,17 @@
  PROG=		obexapp
  MAN1=		obexapp.1
  
-@@ -13,8 +15,7 @@
++NO_WERROR=	yes
+ WARNS?=		2
+ 
+ SRCS=		main.c client.c event.c sdp.c server.c stream.c \
+@@ -13,8 +16,7 @@
  
  DEBUG_FLAGS=	-g
  
 -CFLAGS=		-I/usr/local/include \
 -		-I/usr/local/include/openobex
-+CFLAGS=		-I/usr/local/include/openobex
++CFLAGS+=		-I/usr/local/include/openobex
  
  DPADD=		${LIBBLUETOOTH} ${LIBSDP} ${LIBBSDXML}
  LDADD=		-L/usr/lib -L/usr/local/lib \
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Fri Nov 26 14:57:03 GMT 2004 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=74388 
>Unformatted:
