1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/cad/meshlab/files/patch-meshlabserver_meshlabserver.pro
Pietro Cerutti 4532f38559 - Fix run-time segmentation fault [1]
- Convert to new LIB_DEPENDS format
- Fix build with clang (no longer depends on GCC)
- Statically link against own library libcommon.a, to avoid
  installing a library with such a generic name as libcommon.so

PR:		183474 [1]
Submitted by:	Pierre Smars <smars@yuntech.edu.tw> [1]
2013-10-31 17:19:27 +00:00

12 lines
560 B
Prolog

--- meshlabserver/meshlabserver.pro.orig 2011-10-14 18:34:48.000000000 +0200
+++ meshlabserver/meshlabserver.pro 2013-05-08 10:36:08.000000000 +0200
@@ -31,6 +31,8 @@
linux-g++-32:QMAKE_RPATHDIR += ../distrib
linux-g++-64: LIBS += -L../distrib -lcommon
linux-g++-64:QMAKE_RPATHDIR += ../distrib
+LIBS += ../common/libcommon.a -L../external/jhead-2.95 -ljhead
+QMAKE_RPATHDIR += ../distrib
#CONFIG (release,debug | release) {
# win32-msvc2005:release: LIBS += -L../common/release -lcommon
# win32-msvc2008:release: LIBS += -L../common/release -lcommon