pkgsrc/cad/qcad/patches/patch-src_spatialindex_spatialindex.pro
plunky 2465575deb Upgrade QCAD to version 3.15.5.3
QCAD has been largely rewritten since the previous version
(QCAD 2) was updated in pkgsrc, meaning that the changes are
vast. From the authors website:

    QCAD 3 comes with a new and improved CAD engine which improves
    performance (spatial index) and allows for advanced property
    editing and future extensions (dynamic properties). The other
    major addition is a powerful and complete ECMAScript interface.
    New interactive tools can be developed with a few lines of
    ECMAScript but even entire new applications can be developed
    using QCAD technology. QCAD 3 is also the first QCAD version
    that fully supports the DWG format as well as various different
    versions of the DXF format.

The complete ChangeLog is at http://www.qcad.org/en/changelog
2016-08-30 10:56:04 +00:00

19 lines
701 B
INI

$NetBSD: patch-src_spatialindex_spatialindex.pro,v 1.1 2016/08/30 10:56:04 plunky Exp $
fix build for pkgsrc, by allowing qmake to link binaries in situ
and create an install target
--- src/spatialindex/spatialindex.pro.orig 2016-07-01 07:13:14.000000000 +0000
+++ src/spatialindex/spatialindex.pro
@@ -14,8 +14,8 @@ else {
CONFIG += plugin
}
TARGET = $${RLIBNAME}spatialindex
-LIBS += -l$${RLIBNAME}core -lspatialindexnavel
+LIBS += -L../core -l$${RLIBNAME}core \
+ -L../3rdparty/spatialindexnavel -lspatialindexnavel
+INSTALLS += target
OTHER_FILES += spatialindex.dox
DEFINES += QCADSPATIALINDEX_LIBRARY
-
-#POST_TARGETDEPS += ../../$$ROUTDIR/$${RLIBPRE}spatialindexnavel$${RLIBPOSTDLL}