Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jul 2004 18:43:15 +0300
From:      Panagiotis Astithas <past@netmode.ntua.gr>
To:        mad@madpilot.net, ports@freebsd.org, lioux@freebsd.org
Subject:   [PATCH] mpeg4ip vs. obexapp
Message-ID:  <41013213.6050009@netmode.ntua.gr>

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

I discovered a corner case in which comms/obexapp fails to build. In my 
system I have installed multimedia/mpeg4ip which installs 
/usr/local/include/sdp.h. This file shadows the system header 
/usr/include/sdp.h, causing the build of obexapp to fail. I had to 
replace comms/obexapp/files/patch-Makefile with the following one for 
the build to succeed:


--- Makefile.orig       Sat Apr 10 00:09:09 2004
+++ Makefile    Fri Jul 23 16:34:23 2004
@@ -1,8 +1,10 @@
  # $Id: Makefile,v 1.7 2004/04/09 21:09:09 max Exp $
  # $FreeBSD$

-BINDIR=                /usr/local/bin
-MANDIR=                /usr/local/man/man
+PREFIX?=       /usr/local
+
+BINDIR=                ${PREFIX}/bin
+MANDIR=                ${PREFIX}/man/man
  PROG=          obexapp
  MAN1=          obexapp.1

@@ -13,8 +15,7 @@

  DEBUG_FLAGS=   -g

-CFLAGS=                -I/usr/local/include \
-               -I/usr/local/include/openobex
+CFLAGS=                -I/usr/local/include/openobex

  DPADD=         ${LIBBLUETOOTH} ${LIBSDP} ${LIBBSDXML}
  LDADD=         -L/usr/lib -L/usr/local/lib \


Nevertheless, I would feel much better if mpeg4ip would install sdp.h in 
something less dangerous, say ${LOCALBASE}/mpeg4ip/sdp.h.

Cheers,



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