summaryrefslogtreecommitdiff
path: root/net/transmission/patches/patch-qt_qtr.pro
blob: 21a7843f36952b1110351931c09efcf76507770a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
$NetBSD: patch-qt_qtr.pro,v 1.6 2019/07/20 23:14:40 wiz Exp $

1. Fix man page installation path.
2. add openssl cflags/ldflags (still needed?)

--- qt/qtr.pro.orig	2015-12-29 00:47:32.464150631 +0000
+++ qt/qtr.pro
@@ -8,7 +8,8 @@ target.path = /bin
 INSTALLS += target
 
 unix: INSTALLS += man
-man.path = /share/man/man1/
+man.path = /man/man1/
+
 man.files = transmission-qt.1
 
 CONFIG += qt thread debug link_pkgconfig c++11 warn_on
@@ -28,12 +29,14 @@ include(config.pri)
 
 INCLUDEPATH = $${EVENT_TOP}/include $${INCLUDEPATH}
 INCLUDEPATH += $${TRANSMISSION_TOP}
+INCLUDEPATH += $${OPENSSL_CFLAGS}
 LIBS += $${TRANSMISSION_TOP}/libtransmission/libtransmission.a
 LIBS += $${LIBUTP_LIBS}
 LIBS += $${DHT_LIBS}
 LIBS += $${LIBB64_LIBS}
 LIBS += $${LIBUPNP_LIBS}
 LIBS += $${LIBNATPMP_LIBS}
+LIBS += $${OPENSSL_LIBS} ${LDFLAGS}
 unix: LIBS += -L$${EVENT_TOP}/lib -lz -lrt
 win32:LIBS += -levent-2.0 -lws2_32 -lintl
 win32:LIBS += -lidn -liconv -lwldap32 -liphlpapi