aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2011-03-18 04:15:56 +0800
committermezz <mezz@FreeBSD.org>2011-03-18 04:15:56 +0800
commit4bcd788c7d0058ec9b4f16a8d1a5988f5b8b604c (patch)
tree61d479923c8f7c1d8e17978fb9879b33c1eb2a96 /net-p2p
parentf4b1249b470dc9751c0c8cf79efe37178fd6356c (diff)
downloadfreebsd-ports-gnome-4bcd788c7d0058ec9b4f16a8d1a5988f5b8b604c.tar.gz
freebsd-ports-gnome-4bcd788c7d0058ec9b4f16a8d1a5988f5b8b604c.tar.zst
freebsd-ports-gnome-4bcd788c7d0058ec9b4f16a8d1a5988f5b8b604c.zip
Fix transmission-qt to avoid link with both libevent 1.x and 2.x libraries
or it will crashes. Remove a hardcore '-levent' (should be -levent-2.0) in the qtr.pro and let pkg-config takes care of it. Bump the PORTREVISION. PR: ports/155600 Reported by: Alexandr <prayer@list.ru>
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/transmission-cli/files/patch-qt_qtr.pro11
-rw-r--r--net-p2p/transmission-qt4/Makefile2
2 files changed, 12 insertions, 1 deletions
diff --git a/net-p2p/transmission-cli/files/patch-qt_qtr.pro b/net-p2p/transmission-cli/files/patch-qt_qtr.pro
new file mode 100644
index 000000000000..dc046dace15d
--- /dev/null
+++ b/net-p2p/transmission-cli/files/patch-qt_qtr.pro
@@ -0,0 +1,11 @@
+--- qt/qtr.pro.orig 2011-03-17 15:03:37.000000000 -0500
++++ qt/qtr.pro 2011-03-17 15:04:01.000000000 -0500
+@@ -21,7 +21,7 @@
+ LIBS += $${TRANSMISSION_TOP}/third-party/dht/libdht.a
+ LIBS += $${TRANSMISSION_TOP}/third-party/miniupnp/libminiupnp.a
+ LIBS += $${TRANSMISSION_TOP}/third-party/libnatpmp/libnatpmp.a
+-unix: LIBS += -L$${EVENT_TOP}/lib -levent -lz
++unix: LIBS += -L$${EVENT_TOP}/lib -lz
+ win32:DEFINES += QT_DBUS
+ win32:LIBS += -levent -lws2_32 -lintl
+ win32:LIBS += -lidn -liconv -lwldap32 -liphlpapi
diff --git a/net-p2p/transmission-qt4/Makefile b/net-p2p/transmission-qt4/Makefile
index a82749c11295..66ba841e791c 100644
--- a/net-p2p/transmission-qt4/Makefile
+++ b/net-p2p/transmission-qt4/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
#
-PORTREVISION= 0
+PORTREVISION= 1
PKGNAMESUFFIX= -qt4
MAINTAINER= mezz@FreeBSD.org