ports/74388: [maintainer-update]: comms/obexapp, make it respect CFLAGS
Guido Falsi
mad at madpilot.net
Thu Nov 25 21:50:22 UTC 2004
>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: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Thu Nov 25 21: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 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:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list