mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-27 00:19:25 -05:00
Patch from Peter - to build Retroshare on FreeBSD.
- Fixup BSD qmake parameters: mainly library locations. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4863 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
8431e7b3af
commit
4e5e149a95
@ -79,6 +79,12 @@ mac {
|
|||||||
DESTDIR = lib
|
DESTDIR = lib
|
||||||
}
|
}
|
||||||
|
|
||||||
|
################################# FreeBSD ##########################################
|
||||||
|
|
||||||
|
freebsd-* {
|
||||||
|
DESTDIR = lib
|
||||||
|
}
|
||||||
|
|
||||||
################################### COMMON stuff ##################################
|
################################### COMMON stuff ##################################
|
||||||
################################### COMMON stuff ##################################
|
################################### COMMON stuff ##################################
|
||||||
|
|
||||||
|
@ -327,6 +327,8 @@ mac {
|
|||||||
#INCLUDEPATH += . $${UPNPC_DIR} $${GPGME_DIR}/src $${GPG_ERROR_DIR}/src
|
#INCLUDEPATH += . $${UPNPC_DIR} $${GPGME_DIR}/src $${GPG_ERROR_DIR}/src
|
||||||
}
|
}
|
||||||
|
|
||||||
|
################################# FreeBSD ##########################################
|
||||||
|
|
||||||
freebsd-* {
|
freebsd-* {
|
||||||
INCLUDEPATH *= /usr/local/include/gpgme
|
INCLUDEPATH *= /usr/local/include/gpgme
|
||||||
INCLUDEPATH *= /usr/local/include/glib-2.0
|
INCLUDEPATH *= /usr/local/include/glib-2.0
|
||||||
@ -336,7 +338,7 @@ freebsd-* {
|
|||||||
#libupnp implementation files
|
#libupnp implementation files
|
||||||
HEADERS += upnp/UPnPBase.h
|
HEADERS += upnp/UPnPBase.h
|
||||||
SOURCES += upnp/UPnPBase.cpp
|
SOURCES += upnp/UPnPBase.cpp
|
||||||
|
DESTDIR = lib
|
||||||
}
|
}
|
||||||
|
|
||||||
################################### COMMON stuff ##################################
|
################################### COMMON stuff ##################################
|
||||||
|
@ -146,13 +146,16 @@ macx {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
##################################### FreeBSD ######################################
|
||||||
|
|
||||||
freebsd-* {
|
freebsd-* {
|
||||||
INCLUDEPATH *= /usr/local/include/gpgme
|
INCLUDEPATH *= /usr/local/include/gpgme
|
||||||
LIBS *= ../../libretroshare/src/libretroshare.a
|
LIBS *= ../../libretroshare/src/lib/libretroshare.a
|
||||||
LIBS *= -lssl
|
LIBS *= -lssl
|
||||||
LIBS *= -lgpgme
|
LIBS *= -lgpgme
|
||||||
LIBS *= -lupnp
|
LIBS *= -lupnp
|
||||||
LIBS *= -lgnome-keyring
|
LIBS *= -lgnome-keyring
|
||||||
|
PRE_TARGETDEPS *= ../../libretroshare/src/lib/libretroshare.a
|
||||||
}
|
}
|
||||||
|
|
||||||
############################## Common stuff ######################################
|
############################## Common stuff ######################################
|
||||||
@ -165,10 +168,6 @@ freebsd-* {
|
|||||||
bitdht {
|
bitdht {
|
||||||
LIBS += ../../libbitdht/src/lib/libbitdht.a
|
LIBS += ../../libbitdht/src/lib/libbitdht.a
|
||||||
PRE_TARGETDEPS *= ../../libbitdht/src/lib/libbitdht.a
|
PRE_TARGETDEPS *= ../../libbitdht/src/lib/libbitdht.a
|
||||||
|
|
||||||
#For FreeBSD to need to use these ones.
|
|
||||||
#LIBS += ../../libbitdht/src/libbitdht.a
|
|
||||||
#PRE_TARGETDEPS *= ../../libbitdht/src/libbitdht.a
|
|
||||||
}
|
}
|
||||||
|
|
||||||
win32 {
|
win32 {
|
||||||
|
@ -75,6 +75,18 @@ macx {
|
|||||||
LIBS += -Wl,-search_paths_first
|
LIBS += -Wl,-search_paths_first
|
||||||
}
|
}
|
||||||
|
|
||||||
|
##################################### FreeBSD ######################################
|
||||||
|
|
||||||
|
freebsd-* {
|
||||||
|
INCLUDEPATH *= /usr/local/include/gpgme
|
||||||
|
LIBS *= ../../libretroshare/src/lib/libretroshare.a
|
||||||
|
LIBS *= -lssl
|
||||||
|
LIBS *= -lgpgme
|
||||||
|
LIBS *= -lupnp
|
||||||
|
LIBS *= -lgnome-keyring
|
||||||
|
PRE_TARGETDEPS *= ../../libretroshare/src/lib/libretroshare.a
|
||||||
|
}
|
||||||
|
|
||||||
############################## Common stuff ######################################
|
############################## Common stuff ######################################
|
||||||
|
|
||||||
# bitdht config
|
# bitdht config
|
||||||
|
Loading…
Reference in New Issue
Block a user