ports/131778: comms/gnokii fails to build when multimedia/mpeg4ip is installed
Guido Falsi
mad at madpilot.net
Thu Feb 26 17:30:37 UTC 2009
The following reply was made to PR ports/131778; it has been noted by GNATS.
From: Guido Falsi <mad at madpilot.net>
To: bug-followup at FreeBSD.org, vkushnir at bigmir.net
Cc:
Subject: Re: ports/131778: comms/gnokii fails to build when
multimedia/mpeg4ip is installed
Date: Thu, 26 Feb 2009 18:02:30 +0100
--ZARJHfwaSJQLOEUz
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Attaching a patch which should solve the problem by hardcoding
libsdp.so paths in some Makefiles.
I could not find a better solution for now.
Discussion on the mailing lists shed some light on the same include
and lib name problem, perhaps FreeBSD's libsdp or libbluetoot will
be merged together, this willreally fix the thing at last, for this
and other ports.
--
Guido Falsi <mad at madpilot.net>
--ZARJHfwaSJQLOEUz
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="gnokii.diff"
diff -ruN gnokii.old/files/patch-common-devices-unixbluetooth.c gnokii/files/patch-common-devices-unixbluetooth.c
--- gnokii.old/files/patch-common-devices-unixbluetooth.c 2009-02-17 15:19:41.000000000 +0100
+++ gnokii/files/patch-common-devices-unixbluetooth.c 2009-02-17 17:04:44.000000000 +0100
@@ -1,11 +1,11 @@
--- common/devices/unixbluetooth.c.orig 2008-10-05 12:14:31.000000000 +0200
-+++ common/devices/unixbluetooth.c 2008-11-04 22:30:35.000000000 +0100
++++ common/devices/unixbluetooth.c 2009-02-17 17:03:58.000000000 +0100
@@ -54,6 +54,8 @@
#include <netgraph/bluetooth/include/ng_hci.h>
#include <netgraph/bluetooth/include/ng_l2cap.h>
#include <netgraph/bluetooth/include/ng_btsocket.h>
+#include <bluetooth.h>
-+#include <sdp.h>
++#include </usr/include/sdp.h>
#define BTPROTO_RFCOMM BLUETOOTH_PROTO_RFCOMM
#define BDADDR_ANY NG_HCI_BDADDR_ANY
diff -ruN gnokii.old/files/patch-configure gnokii/files/patch-configure
--- gnokii.old/files/patch-configure 2009-02-17 15:19:41.000000000 +0100
+++ gnokii/files/patch-configure 2009-02-26 17:22:04.000000000 +0100
@@ -1,5 +1,5 @@
--- configure.orig 2008-10-06 08:57:27.000000000 +0200
-+++ configure 2008-11-01 00:28:22.000000000 +0100
++++ configure 2009-02-26 17:21:58.000000000 +0100
@@ -1057,7 +1057,7 @@
psdir='${docdir}'
libdir='${exec_prefix}/lib'
@@ -110,7 +110,7 @@
echo "${ECHO_T}$ac_cv_lib_bluetooth_bt_aton" >&6; }
if test $ac_cv_lib_bluetooth_bt_aton = yes; then
- BLUETOOTH_LIBS="$LIBS -lbluetooth"
-+ BLUETOOTH_LIBS="$LIBS -lsdp -lbluetooth"
++ BLUETOOTH_LIBS="-lsdp -lbluetooth $LIBS"
cat >>confdefs.h <<\_ACEOF
#define HAVE_BT_ATON
_ACEOF
diff -ruN gnokii.old/files/patch-gnokii-Makefile.in gnokii/files/patch-gnokii-Makefile.in
--- gnokii.old/files/patch-gnokii-Makefile.in 1970-01-01 01:00:00.000000000 +0100
+++ gnokii/files/patch-gnokii-Makefile.in 2009-02-26 17:21:15.000000000 +0100
@@ -0,0 +1,11 @@
+--- gnokii/Makefile.in.orig 2009-02-26 17:09:49.000000000 +0100
++++ gnokii/Makefile.in 2009-02-26 17:20:21.000000000 +0100
+@@ -57,7 +57,7 @@
+ gnokii-gnokii-security.$(OBJEXT) \
+ gnokii-gnokii-settings.$(OBJEXT) gnokii-gnokii-sms.$(OBJEXT) \
+ gnokii-gnokii-todo.$(OBJEXT) gnokii-gnokii-utils.$(OBJEXT) \
+- gnokii-gnokii-wap.$(OBJEXT)
++ gnokii-gnokii-wap.$(OBJEXT) /usr/lib/libsdp.so
+ gnokii_OBJECTS = $(am_gnokii_OBJECTS)
+ am__DEPENDENCIES_1 =
+ gnokii_DEPENDENCIES = $(top_builddir)/common/libgnokii.la \
diff -ruN gnokii.old/files/patch-gnokiid-Makefile.in gnokii/files/patch-gnokiid-Makefile.in
--- gnokii.old/files/patch-gnokiid-Makefile.in 2009-02-17 15:19:41.000000000 +0100
+++ gnokii/files/patch-gnokiid-Makefile.in 2009-02-26 17:26:50.000000000 +0100
@@ -1,6 +1,15 @@
---- gnokiid/Makefile.in.orig 2008-05-03 21:21:29.000000000 +0200
-+++ gnokiid/Makefile.in 2008-05-29 22:14:16.000000000 +0200
-@@ -322,8 +322,8 @@
+--- gnokiid/Makefile.in.orig 2008-10-06 08:57:16.000000000 +0200
++++ gnokiid/Makefile.in 2009-02-26 17:26:31.000000000 +0100
+@@ -48,7 +48,7 @@
+ binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ PROGRAMS = $(bin_PROGRAMS)
+ am_gnokiid_OBJECTS = gnokiid-gnokiid.$(OBJEXT)
+-gnokiid_OBJECTS = $(am_gnokiid_OBJECTS)
++gnokiid_OBJECTS = $(am_gnokiid_OBJECTS) /usr/lib/libsdp.so
+ am__DEPENDENCIES_1 =
+ gnokiid_DEPENDENCIES = $(top_builddir)/common/libgnokii.la \
+ $(top_builddir)/common/data/libDATA.la $(am__DEPENDENCIES_1)
+@@ -326,8 +326,8 @@
|| test -f $$p1 \
; then \
f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
diff -ruN gnokii.old/files/patch-smsd-Makefile.in gnokii/files/patch-smsd-Makefile.in
--- gnokii.old/files/patch-smsd-Makefile.in 2009-02-17 15:19:41.000000000 +0100
+++ gnokii/files/patch-smsd-Makefile.in 2009-02-26 17:36:18.000000000 +0100
@@ -1,6 +1,15 @@
---- smsd/Makefile.in.orig 2008-05-03 21:21:32.000000000 +0200
-+++ smsd/Makefile.in 2008-05-29 22:16:37.000000000 +0200
-@@ -416,8 +416,8 @@
+--- smsd/Makefile.in.orig 2008-10-06 08:57:19.000000000 +0200
++++ smsd/Makefile.in 2009-02-26 17:35:49.000000000 +0100
+@@ -86,7 +86,7 @@
+ binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ PROGRAMS = $(bin_PROGRAMS)
+ am_smsd_OBJECTS = smsd.$(OBJEXT) lowlevel.$(OBJEXT)
+-smsd_OBJECTS = $(am_smsd_OBJECTS)
++smsd_OBJECTS = $(am_smsd_OBJECTS) /usr/lib/libsdp.so
+ smsd_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
+ $(am__DEPENDENCIES_1) $(top_builddir)/common/libgnokii.la
+ DEFAULT_INCLUDES = -I. at am__isrc@ -I$(top_builddir)/include
+@@ -421,8 +421,8 @@
|| test -f $$p1 \
; then \
f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
diff -ruN gnokii.old/files/patch-xgnokii-Makefile.in gnokii/files/patch-xgnokii-Makefile.in
--- gnokii.old/files/patch-xgnokii-Makefile.in 2009-02-17 15:19:41.000000000 +0100
+++ gnokii/files/patch-xgnokii-Makefile.in 2009-02-26 17:33:38.000000000 +0100
@@ -1,6 +1,15 @@
---- xgnokii/Makefile.in.orig 2008-02-23 17:19:30.000000000 +0100
-+++ xgnokii/Makefile.in 2008-02-23 17:19:58.000000000 +0100
-@@ -351,7 +351,8 @@
+--- xgnokii/Makefile.in.orig 2008-10-06 08:57:20.000000000 +0200
++++ xgnokii/Makefile.in 2009-02-26 17:33:22.000000000 +0100
+@@ -62,7 +62,7 @@
+ xgnokii-xgnokii_xring.$(OBJEXT) \
+ xgnokii-xgnokii_lowlevel.$(OBJEXT) \
+ xgnokii-xgnokii_data.$(OBJEXT)
+-xgnokii_OBJECTS = $(am_xgnokii_OBJECTS)
++xgnokii_OBJECTS = $(am_xgnokii_OBJECTS) /usr/lib/libsdp.so
+ am__DEPENDENCIES_1 =
+ xgnokii_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
+ $(am__DEPENDENCIES_1) $(top_builddir)/common/libgnokii.la \
+@@ -360,7 +360,8 @@
#FIXME install help
HELP_DIR = docs/help
pkgconfig_DATA = xgnokii.pc
--ZARJHfwaSJQLOEUz--
More information about the freebsd-ports-bugs
mailing list