mirror of
https://git.freebsd.org/ports.git
synced 2025-07-04 02:49:14 -04:00
RetroShare does not build with upnp >= 1.8. Upstream does not have a solution for this yet other than suggesting to switch to using miniupnpc as a workaround. PR: 237406 Submitted by: tobik Approved by: peter@netkey.at (maintainer)
20 lines
768 B
INI
20 lines
768 B
INI
--- libretroshare/src/libretroshare.pro.orig 2018-03-13 19:25:38 UTC
|
|
+++ libretroshare/src/libretroshare.pro
|
|
@@ -341,13 +341,14 @@ mac {
|
|
|
|
freebsd-* {
|
|
INCLUDEPATH *= /usr/local/include/gpgme
|
|
- INCLUDEPATH *= /usr/local/include/glib-2.0
|
|
+ INCLUDEPATH += $$system(pkg-config --cflags glib-2.0 | sed -e "s/-I//g")
|
|
|
|
QMAKE_CXXFLAGS *= -Dfseeko64=fseeko -Dftello64=ftello -Dstat64=stat -Dstatvfs64=statvfs -Dfopen64=fopen
|
|
|
|
# linux/bsd can use either - libupnp is more complete and packaged.
|
|
- #CONFIG += upnp_miniupnpc
|
|
- CONFIG += upnp_libupnp
|
|
+ CONFIG += upnp_miniupnpc
|
|
+ DEFINES *= PLUGIN_DIR=\"\\\"$${PLUGIN_DIR}\\\"\"
|
|
+ DEFINES *= DATA_DIR=\"\\\"$${DATA_DIR}\\\"\"
|
|
}
|
|
|
|
################################# OpenBSD ##########################################
|