Files
pkgsrc-ng/cad/qcad/patches/patch-src_entity_entity.pro
2016-11-18 22:39:22 +01:00

21 lines
597 B
Prolog

$NetBSD: patch-src_entity_entity.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/entity/entity.pro.orig 2016-07-01 07:13:14.000000000 +0000
+++ src/entity/entity.pro
@@ -117,9 +117,11 @@ else {
}
NAME = $${RLIBNAME}entity
TARGET = $${NAME}
+INSTALLS += target
OTHER_FILES += entity.dox
DEFINES += QCADENTITY_LIBRARY
-LIBS += -l$${RLIBNAME}core -lopennurbs
+LIBS += -L../core -l$${RLIBNAME}core \
+ -L../3rdparty/opennurbs/opennurbs -lopennurbs
!win32 {
include( ../../shared_ts.pri )
}