[kde-freebsd] ports/146522: cannot portupgrade net/kdenetwork4 to version 4.4.3
Andrei V. Lavreniyuk
andy.lavr at reactor-xg.kiev.ua
Thu May 13 18:10:07 CEST 2010
The following reply was made to PR ports/146522; it has been noted by GNATS.
From: "Andrei V. Lavreniyuk" <andy.lavr at reactor-xg.kiev.ua>
To: bug-followup at FreeBSD.org, Max Brazhnikov <makc at FreeBSD.org>
Cc:
Subject: Re: ports/146522: cannot portupgrade net/kdenetwork4 to version 4.4.3
Date: Thu, 13 May 2010 19:04:58 +0300
Hi!
> Seems your CFLAGS is overridden somewhere. CFLAGS should contain
> -DHAVE_LINUX_INTEGER_TYPES, added by the kdenetwork4/Makefile.
CFLAGS+= -DHAVE_LINUX_INTEGER_TYPES=1
^^^^^^^^ No work!
Compile fine if add patch:
# Fix build with fresh multimedia/v4l_compat installed
-CFLAGS+= -DHAVE_LINUX_INTEGER_TYPES=1
+CMAKE_ARGS+= -DHAVE_LINUX_INTEGER_TYPES=TRUE
--- CMakeLists.txt.orig 2010-03-26 19:29:39.000000000 +0200
+++ CMakeLists.txt 2010-05-13 09:32:59.000000000 +0300
@@ -65,6 +65,10 @@
include_directories(${TELEPATHY_QT4_INCLUDE_DIR})
endif(TELEPATHY_QT4_FOUND)
+if(HAVE_LINUX_INTEGER_TYPES)
+ add_definitions(-DHAVE_LINUX_INTEGER_TYPES)
+endif(HAVE_LINUX_INTEGER_TYPES)
+
add_definitions (${QT_DEFINITIONS} ${QT_QTDBUS_DEFINITIONS}
${KDE4_DEFINITIONS})
include_directories (${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR}
${KDE4_INCLUDES} ${KDEPIMLIBS_INCLUDE_DIR})
--
Best regards, Andrei V. Lavreniyuk.
More information about the kde-freebsd
mailing list