ugly diff to unbreak pgmodeler, reported by Jose N Figueroa
https://marc.info/?t=161296967900002&r=1&w=2
This commit is contained in:
parent
68a4d4f55a
commit
32d7d4f313
@ -1,8 +1,9 @@
|
|||||||
# $OpenBSD: Makefile,v 1.12 2021/01/02 22:31:45 feinerer Exp $
|
# $OpenBSD: Makefile,v 1.13 2021/03/01 13:48:29 sthen Exp $
|
||||||
|
|
||||||
COMMENT = PostgreSQL Database Modeler
|
COMMENT = PostgreSQL Database Modeler
|
||||||
|
|
||||||
VERSION = 0.9.3
|
VERSION = 0.9.3
|
||||||
|
REVISION = 0
|
||||||
|
|
||||||
GH_ACCOUNT = pgmodeler
|
GH_ACCOUNT = pgmodeler
|
||||||
GH_PROJECT = pgmodeler
|
GH_PROJECT = pgmodeler
|
||||||
|
@ -1,8 +1,17 @@
|
|||||||
$OpenBSD: patch-pgmodeler_pri,v 1.3 2021/01/02 22:31:45 feinerer Exp $
|
$OpenBSD: patch-pgmodeler_pri,v 1.4 2021/03/01 13:48:29 sthen Exp $
|
||||||
|
|
||||||
Index: pgmodeler.pri
|
Index: pgmodeler.pri
|
||||||
--- pgmodeler.pri.orig
|
--- pgmodeler.pri.orig
|
||||||
+++ pgmodeler.pri
|
+++ pgmodeler.pri
|
||||||
|
@@ -81,7 +81,7 @@ linux {
|
||||||
|
|
||||||
|
# Specifies where to find the libraries at runtime
|
||||||
|
RELATIVE_PRIVATELIBDIR = $$relative_path($$PRIVATELIBDIR, $$BINDIR)
|
||||||
|
- QMAKE_LFLAGS += "-Wl,-rpath,\'\$$ORIGIN\' -Wl,-rpath,\'\$$ORIGIN/$$RELATIVE_PRIVATELIBDIR\'"
|
||||||
|
+ QMAKE_LFLAGS += "-Wl,-rpath,$$PREFIX/lib\ -Wl,-rpath,$$PRIVATELIBDIR"
|
||||||
|
|
||||||
|
# Forcing the display of some warnings
|
||||||
|
CONFIG(debug, debug|release): QMAKE_CXXFLAGS += "-Wall -Wextra -Wuninitialized"
|
||||||
@@ -155,6 +155,7 @@ unix:!macx {
|
@@ -155,6 +155,7 @@ unix:!macx {
|
||||||
PKGCONFIG = libpq libxml-2.0
|
PKGCONFIG = libpq libxml-2.0
|
||||||
PGSQL_LIB = -lpq
|
PGSQL_LIB = -lpq
|
||||||
|
Loading…
Reference in New Issue
Block a user