forked from pool/boinc-client
c6f7a6803b
update to 7.2.42 OBS-URL: https://build.opensuse.org/request/show/227113 OBS-URL: https://build.opensuse.org/package/show/network/boinc-client?expand=0&rev=34
38 lines
1.8 KiB
Diff
38 lines
1.8 KiB
Diff
Index: configure.ac
|
|
===================================================================
|
|
--- configure.ac.orig
|
|
+++ configure.ac
|
|
@@ -45,6 +45,7 @@ m4_ifdef([AC_PROG_OBJCXX],[AC_PROG_OBJCX
|
|
dnl ------
|
|
AC_PROG_F77
|
|
AC_PROG_CPP
|
|
+AC_PROG_OBJCXX
|
|
AC_PROG_MAKE_SET
|
|
SAH_LINKS
|
|
AC_LANG_PUSH(C)
|
|
@@ -793,6 +794,8 @@ AM_CONDITIONAL(ENABLE_LIBRARIES, [test "
|
|
AM_CONDITIONAL(INSTALL_HEADERS, [test "${enable_install_headers}" = yes])
|
|
AM_CONDITIONAL(HAVE_CUDA_LIB, [test "${enable_client}" = yes -a -f ./coprocs/CUDA/posix/${boinc_platform}/libcudart.so])
|
|
|
|
+PKG_CHECK_MODULES([GTK2], [gtk+-2.0])
|
|
+
|
|
dnl ======================================================================
|
|
dnl some more vodoo required for building portable client-binary (client, clientgui)
|
|
dnl ======================================================================
|
|
Index: clientgui/Makefile.am
|
|
===================================================================
|
|
--- clientgui/Makefile.am.orig
|
|
+++ clientgui/Makefile.am
|
|
@@ -117,9 +117,8 @@ EXTRA_DIST = *.h \
|
|
../lib/error_numbers.h \
|
|
locale $(mac_headers)
|
|
|
|
-boincmgr_CPPFLAGS = $(AM_CPPFLAGS) $(WX_CPPFLAGS) $(SQLITE3_CPPFLAGS) $(LIBNOTIFY_CFLAGS) $(CLIENTGUIFLAGS) `pkg-config --cflags gtk+-2.0`
|
|
-boincmgr_CXXFLAGS = $(AM_CXXFLAGS) $(WX_CXXFLAGS) $(SQLITE3_CPPFLAGS) $(LIBNOTIFY_CFLAGS) $(CLIENTGUIFLAGS) `pkg-config --cflags gtk+-2.0`
|
|
-boincmgr_LDFLAGS = $(LIBBOINC) $(SQLITE3_LIBS) $(LIBNOTIFY_LIBS) $(CLIENTGUILIBS) $(BOINC_EXTRA_LIBS) $(CLIENTLIBS) `pkg-config --libs gtk+-2.0` -lnotify
|
|
+boincmgr_CPPFLAGS = $(AM_CPPFLAGS) $(WX_CPPFLAGS) $(SQLITE3_CPPFLAGS) $(LIBNOTIFY_CFLAGS) $(CLIENTGUIFLAGS) $(GTK2_CFLAGS)
|
|
+boincmgr_LDFLAGS = $(LIBBOINC) $(SQLITE3_LIBS) $(LIBNOTIFY_LIBS) $(CLIENTGUILIBS) $(BOINC_EXTRA_LIBS) $(CLIENTLIBS) $(GTK2_LIBS) -lnotify
|
|
|
|
win_config.h: $(top_srcdir)/config.h
|
|
grep '#define.*BOINC.*VERSION' $^ > $@
|