Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 May 2007 20:22:30 +0200 (CEST)
From:      Guido Falsi <mad@madpilot.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Paul Beard <paulbeard@gmail.com>
Subject:   ports/112321: [maintainer-update] fix build when readline-5.2 is installed
Message-ID:  <200705011822.l41IMUv1003960@wedge.madpilot.net>
Resent-Message-ID: <200705011830.l41IU5Du038268@freefall.freebsd.org>

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

>Number:         112321
>Category:       ports
>Synopsis:       [maintainer-update] fix build when readline-5.2 is installed
>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:   Tue May 01 18:30:04 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Guido Falsi
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
none
>Environment:
System: FreeBSD wedge.madpilot.net 6.2-STABLE FreeBSD 6.2-STABLE #33: Fri Apr 20 18:08:23 CEST 2007 root@wedge.madpilot.net:/usr/obj/usr/src/sys/WEDGE i386

>Description:

Port fails to build when the readline 5.2 port is installed due to a conflict in include files. Following patch fixes that.

Reported By: Paul Beard

>How-To-Repeat:
>Fix:

diff -ruN obexapp.old/files/patch-Makefile obexapp/files/patch-Makefile
--- obexapp.old/files/patch-Makefile	Tue May  1 14:11:04 2007
+++ obexapp/files/patch-Makefile	Tue May  1 14:12:20 2007
@@ -1,5 +1,5 @@
 --- Makefile.orig	Mon Apr 23 20:29:18 2007
-+++ Makefile	Wed Apr 25 20:41:52 2007
++++ Makefile	Tue May  1 14:11:37 2007
 @@ -1,8 +1,10 @@
  # $Id: Makefile,v 1.11 2007/04/23 18:29:18 max Exp $
  # $FreeBSD$
@@ -12,4 +12,13 @@
 +MANDIR=		${PREFIX}/man/man
  PROG=		obexapp
  MAN1=		obexapp.1
+ 
+@@ -13,7 +15,7 @@
+ 
+ DEBUG_FLAGS=	-g
+ 
+-CFLAGS+=	-I/usr/local/include \
++CFLAGS+=	-idirafter /usr/local/include \
+ 		-I/usr/local/include/openobex \
+ 		-fno-strict-aliasing
  
>Release-Note:
>Audit-Trail:
>Unformatted:



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