link with libexecinfo since it is referenced from the main program
This commit is contained in:
parent
843065bf7a
commit
a2bcd14aaa
@ -1,9 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.5 2017/11/23 17:56:07 feinerer Exp $
|
||||
# $OpenBSD: Makefile,v 1.6 2018/10/29 21:04:14 naddy Exp $
|
||||
|
||||
COMMENT = PostgreSQL Database Modeler
|
||||
|
||||
VERSION = 0.9.0
|
||||
DISTNAME = pgmodeler-${VERSION}
|
||||
REVISION = 0
|
||||
|
||||
GH_ACCOUNT = pgmodeler
|
||||
GH_PROJECT = pgmodeler
|
||||
@ -29,7 +30,8 @@ WANTLIB += GL Qt5Core Qt5Gui Qt5Network Qt5PrintSupport Qt5Svg
|
||||
WANTLIB += Qt5Widgets X11 Xext c execinfo m pq pthread xml2
|
||||
WANTLIB += ${COMPILER_LIBCXX}
|
||||
|
||||
CONFIGURE_ENV = CXXFLAGS="${CXXFLAGS} -std=c++11"
|
||||
CONFIGURE_ENV = CXXFLAGS="${CXXFLAGS} -std=c++11" \
|
||||
LOCALBASE="${LOCALBASE}"
|
||||
|
||||
MODULES = devel/qmake \
|
||||
x11/qt5
|
||||
|
15
databases/pgmodeler/patches/patch-main_main_pro
Normal file
15
databases/pgmodeler/patches/patch-main_main_pro
Normal file
@ -0,0 +1,15 @@
|
||||
$OpenBSD: patch-main_main_pro,v 1.1 2018/10/29 21:04:14 naddy Exp $
|
||||
|
||||
Index: main/main.pro
|
||||
--- main/main.pro.orig
|
||||
+++ main/main.pro
|
||||
@@ -26,7 +26,8 @@ unix|windows: LIBS += -L$$OUT_PWD/../libpgmodeler_ui/
|
||||
-L$$OUT_PWD/../libpgconnector/ -lpgconnector \
|
||||
-L$$OUT_PWD/../libpgmodeler/ -lpgmodeler \
|
||||
-L$$OUT_PWD/../libparsers/ -lparsers \
|
||||
- -L$$OUT_PWD/../libutils/ -lutils
|
||||
+ -L$$OUT_PWD/../libutils/ -lutils \
|
||||
+ $$EXECINFO_LIB
|
||||
|
||||
INCLUDEPATH += $$PWD/../libpgmodeler_ui \
|
||||
$$PWD/../libpgmodeler_ui/src \
|
13
databases/pgmodeler/patches/patch-pgmodeler_pri
Normal file
13
databases/pgmodeler/patches/patch-pgmodeler_pri
Normal file
@ -0,0 +1,13 @@
|
||||
$OpenBSD: patch-pgmodeler_pri,v 1.1 2018/10/29 21:04:14 naddy Exp $
|
||||
|
||||
Index: pgmodeler.pri
|
||||
--- pgmodeler.pri.orig
|
||||
+++ pgmodeler.pri
|
||||
@@ -143,6 +143,7 @@ unix:!macx {
|
||||
PKGCONFIG = libpq libxml-2.0
|
||||
PGSQL_LIB = -lpq
|
||||
XML_LIB = -lxml2
|
||||
+ EXECINFO_LIB = -L$$(LOCALBASE)/lib -lexecinfo
|
||||
}
|
||||
|
||||
macx {
|
Loading…
Reference in New Issue
Block a user