I've just made new patch for current version.
It builds, but doesn't install. And I don't have enough skill to understand why:
...
-- Installing: 
/usr/ports/textproc/soprano/work/stage/usr/local/include/Soprano/Util/AsyncResult
-- Installing: 
/usr/ports/textproc/soprano/work/stage/usr/local/include/Soprano/Util/AsyncQuery
-- Installing: 
/usr/ports/textproc/soprano/work/stage/usr/local/share/cmake/Modules/SopranoAddOntology.cmake
====> Compressing man pages (compress-man)
===>  Installing for soprano-2.9.4
===>  Checking if textproc/soprano already installed
===>   Registering installation for soprano-2.9.4
pkg-static: 
lstat(/usr/ports/textproc/soprano/work/stage/usr/local/lib/soprano/libsoprano_virtuosobackend.so):
No such file or directory
pkg-static: 
lstat(/usr/ports/textproc/soprano/work/stage/usr/local/share/soprano/plugins/virtuosobackend.desktop):
No such file or directory
*** Error code 74

2014-02-26 0:40 GMT+04:00 Max Brazhnikov <m...@freebsd.org>:
> On Tue, 25 Feb 2014 13:50:02 +0000Tue, 25 Feb 2014 17:46:36 +0400 Pavel 
> Timofeev wrote:
>> The following reply was made to PR ports/174728; it has been noted by GNATS.
>>
>> From: Pavel Timofeev <tim...@gmail.com>
>> To: bug-follo...@freebsd.org
>> Cc:
>> Subject: Re: ports/174728: Let textproc/soprano know about different odbc
>> Date: Tue, 25 Feb 2014 17:46:36 +0400
>>
>>  So, ports/176091 is closed. Any plans to add unixODBC to textproc/soprano?
>
> Did you try to compile soprano with unixODBC?
>
> Max
--- Makefile.orig       2014-02-25 17:08:04.000000000 +0400
+++ Makefile    2014-02-25 17:35:44.000000000 +0400
@@ -11,7 +11,6 @@
 
 LIB_DEPENDS=   raptor2:${PORTSDIR}/textproc/raptor2 \
                rdf:${PORTSDIR}/textproc/redland \
-               iodbc:${PORTSDIR}/databases/libiodbc
 
 USE_QT4=       corelib dbus network qtestlib_build xml \
                qmake_build moc_build uic_build rcc_build
@@ -21,6 +20,25 @@
                -DSOPRANO_DISABLE_SESAME2_BACKEND=yes
 USE_LDCONFIG=  yes
 
+OPTIONS_DEFAULT=       UNIXODBC
+OPTIONS_SINGLE=                ODBC
+OPTIONS_SINGLE_ODBC=   IODBC UNIXODBC
+
+IODBC_DESC=    Use iODBC for ODBC support
+UNIXODBC_DESC= Use UnixODBC for ODBC support
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MIODBC}
+LIB_DEPENDS+=   iodbc:${PORTSDIR}/databases/libiodbc
+CONFIGURE_ARGS+=        --with-iodbc
+.endif
+
+.if ${PORT_OPTIONS:MUNIXODBC}
+LIB_DEPENDS+=   odbc:${PORTSDIR}/databases/unixODBC
+CONFIGURE_ARGS+=        --with-unixodbc
+.endif
+
 post-patch:
        @${REINPLACE_CMD} -e 's,$${LIB_SUFFIX}/pkgconfig,data/pkgconfig,' \
                ${WRKSRC}/CMakeLists.txt
_______________________________________________
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information

Reply via email to