aboutsummaryrefslogtreecommitdiffstats
path: root/cad
diff options
context:
space:
mode:
authormr <mr@FreeBSD.org>2015-12-01 03:47:01 +0800
committermr <mr@FreeBSD.org>2015-12-01 03:47:01 +0800
commite33224639185ff30ef741f5e27c5444bcee259e6 (patch)
tree249de72a956d8c394c58e5473614ebf6003a5c99 /cad
parente4082d31e3de5dd9bd461ed9bf2057ee446ef0f8 (diff)
downloadfreebsd-ports-gnome-e33224639185ff30ef741f5e27c5444bcee259e6.tar.gz
freebsd-ports-gnome-e33224639185ff30ef741f5e27c5444bcee259e6.tar.zst
freebsd-ports-gnome-e33224639185ff30ef741f5e27c5444bcee259e6.zip
Try to fix compilation on FreeBSD-9 and HEAD.
Submitted by: HEAD part by andreast@
Diffstat (limited to 'cad')
-rw-r--r--cad/qcad/Makefile3
-rw-r--r--cad/qcad/files/patch-src_scripting_ecmaapi_ecmaapi.pro8
-rw-r--r--cad/qcad/pkg-plist4
3 files changed, 14 insertions, 1 deletions
diff --git a/cad/qcad/Makefile b/cad/qcad/Makefile
index 8fd48977b8b3..ad5bca4d09c5 100644
--- a/cad/qcad/Makefile
+++ b/cad/qcad/Makefile
@@ -40,7 +40,8 @@ RESDIR= ${WRKSRC}/release
.endif
SHRLIBS= qcadcore qcadecmaapi qcadentity qcadgrid qcadgui qcadoperations \
- qcadsnap qcadspatialindex qcadstemmer spatialindexnavel
+ qcadsnap qcadspatialindex qcadstemmer spatialindexnavel qcadzip \
+ quazip
STALIBS= dxflib stemmer
SHRDIR= fonts libraries patterns plugins scripts ts
#QSCRIPTS should not be installed to avoid conflicts with texlive-base
diff --git a/cad/qcad/files/patch-src_scripting_ecmaapi_ecmaapi.pro b/cad/qcad/files/patch-src_scripting_ecmaapi_ecmaapi.pro
new file mode 100644
index 000000000000..e0d5771b6129
--- /dev/null
+++ b/cad/qcad/files/patch-src_scripting_ecmaapi_ecmaapi.pro
@@ -0,0 +1,8 @@
+--- src/scripting/ecmaapi/ecmaapi.pro.orig 2015-11-30 15:11:41.679536000 +0000
++++ src/scripting/ecmaapi/ecmaapi.pro 2015-11-30 15:12:01.722578000 +0000
+@@ -5,5 +5,4 @@
+ CONFIG -= warn_on
+ CONFIG += warn_off
+-CONFIG += precompile_header
+ PRECOMPILED_HEADER = stable.h
+ OTHER_FILES += ecmaapi.dox
diff --git a/cad/qcad/pkg-plist b/cad/qcad/pkg-plist
index 186ff7c022c2..381b2628af47 100644
--- a/cad/qcad/pkg-plist
+++ b/cad/qcad/pkg-plist
@@ -19,6 +19,10 @@ lib/libqcadspatialindex.so
lib/libqcadspatialindex.so.0
lib/libqcadstemmer.so
lib/libqcadstemmer.so.0
+lib/libqcadzip.so
+lib/libqcadzip.so.0
+lib/libquazip.so
+lib/libquazip.so.0
lib/libspatialindexnavel.so
lib/libspatialindexnavel.so.0
lib/libstemmer.a