[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: [PATCH] FindLibGcrypt.cmake - kdesupport
From: Fabrice =?iso-8859-1?q?M=E9nard?= <menard.fabrice () orange ! fr>
Date: 2007-12-24 14:53:33
Message-ID: 200712241553.33836.menard.fabrice () orange ! fr
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Hi,
On my system, libgcrypt-config --cflags returns only a newline hence
breaking the resulting Makefile with a missing separator error.
Regards,
Fabrice Ménard
[Attachment #5 (text/html)]
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Sans Serif'; font-size:10pt; \
font-weight:400; font-style:normal;"> <p style=" margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Hi,</p> <p \
style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; \
margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p> <p style=" \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px;">On my system, libgcrypt-config --cflags returns \
only a newline hence</p> <p style=" margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">breaking the \
resulting Makefile with a missing separator error.</p> <p \
style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; \
margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p> <p style=" \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px;">Regards,</p> <p \
style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; \
margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p> <p style=" \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px;">Fabrice Ménard</p> <p \
style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; \
margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p></body></html>
["FindLibGcrypt.patch" (text/x-patch)]
--- kdesupport/qca/cmake/modules/FindLibGcrypt.cmake.old 2007-12-24 \
12:21:52.000000000 +0100
+++ kdesupport/qca/cmake/modules/FindLibGcrypt.cmake 2007-11-02 09:57:27.000000000 \
+0100 @@ -27,6 +27,10 @@ IF(LIBGCRYPTCONFIG_EXECUTABLE)
EXEC_PROGRAM(${LIBGCRYPTCONFIG_EXECUTABLE} ARGS --cflags RETURN_VALUE \
_return_VALUE OUTPUT_VARIABLE LIBGCRYPT_CFLAGS)
+ IF(${LIBGCRYPT_CFLAGS} MATCHES "\n")
+ SET(LIBGCRYPT_CFLAGS " ")
+ ENDIF(${LIBGCRYPT_CFLAGS} MATCHES "\n")
+
IF(LIBGCRYPT_LIBRARIES AND LIBGCRYPT_CFLAGS)
SET(LIBGCRYPT_FOUND TRUE)
ENDIF(LIBGCRYPT_LIBRARIES AND LIBGCRYPT_CFLAGS)
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic