forked from BOINC/boinc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
remove-pkg-config.patch
87 lines (77 loc) · 3.12 KB
/
remove-pkg-config.patch
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
diff --git a/api/Makefile.am b/api/Makefile.am
index 6d13d3dc39..a51859d96d 100644
--- a/api/Makefile.am
+++ b/api/Makefile.am
@@ -42,20 +42,20 @@ AM_CXXFLAGS += @GLUT_CFLAGS@
endif
lib_LTLIBRARIES = libboinc_api.la
-pkgconfig_DATA = libboinc_api.pc
+## pkgconfig_DATA = libboinc_api.pc
libboinc_api_la_SOURCES = $(api_files)
libboinc_api_la_LDFLAGS = -version-number $(LIBBOINC_VERSION)
if BUILD_GRAPHICS_API
lib_LTLIBRARIES += libboinc_graphics2.la
-pkgconfig_DATA += libboinc_graphics2.pc
+## pkgconfig_DATA += libboinc_graphics2.pc
libboinc_graphics2_la_SOURCES = $(graphics2_files)
libboinc_graphics2_la_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_srcdir)/samples/image_libs
libboinc_graphics2_la_LDFLAGS = -version-number $(LIBBOINC_VERSION) -ljpeg
endif #BUILD_GRAPHICS_API
lib_LTLIBRARIES += libboinc_opencl.la
-pkgconfig_DATA += libboinc_opencl.pc
+## pkgconfig_DATA += libboinc_opencl.pc
libboinc_opencl_la_SOURCES = $(opencl_files)
libboinc_opencl_la_LDFLAGS = -version-number $(LIBBOINC_VERSION)
diff --git a/configure.ac b/configure.ac
index 5ea74f247c..78db44401e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -64,8 +64,8 @@ SAH_LINKS
AC_LANG_PUSH(C)
AM_PROG_CC_C_O
-PKG_PROG_PKG_CONFIG
-PKG_INSTALLDIR
+dnl PKG_PROG_PKG_CONFIG
+dnl PKG_INSTALLDIR
m4_divert_once([HELP_ENABLE],
AS_HELP_STRING([BOINC Default enable values], [--enable-server --enable-client --enable-libraries --enable-manager: builds server, client, and libraries]))
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 7cbcf7f000..9178459af4 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -180,7 +180,7 @@ noinst_HEADERS = \
unix_util.h
lib_LTLIBRARIES = libboinc.la
-pkgconfig_DATA = libboinc.pc
+## pkgconfig_DATA = libboinc.pc
libboinc_la_SOURCES = $(generic_sources) $(mac_sources) $(win_sources)
libboinc_la_CFLAGS = $(AM_CFLAGS) $(PICFLAGS) $(PTHREAD_CFLAGS)
libboinc_la_CXXFLAGS = $(AM_CXXFLAGS) $(PICFLAGS) $(PTHREAD_CFLAGS)
@@ -192,7 +192,7 @@ libboinc_la_LIBADD =
if ENABLE_BOINCCRYPT
lib_LTLIBRARIES += libboinc_crypt.la
-pkgconfig_DATA += libboinc_crypt.pc
+## pkgconfig_DATA += libboinc_crypt.pc
libboinc_crypt_la_SOURCES = crypt.cpp
libboinc_crypt_la_CFLAGS = $(AM_CFLAGS) $(PICFLAGS) $(PTHREAD_CFLAGS) $(SSL_CFLAGS)
libboinc_crypt_la_CXXFLAGS = $(AM_CXXFLAGS) $(PICFLAGS) $(PTHREAD_CFLAGS) $(SSL_CXXFLAGS)
@@ -202,7 +202,7 @@ endif
if ENABLE_FCGI
lib_LTLIBRARIES += libboinc_fcgi.la
-pkgconfig_DATA += libboinc_fcgi.pc
+## pkgconfig_DATA += libboinc_fcgi.pc
libboinc_fcgi_la_SOURCES = $(libfcgi_sources) $(mac_sources) $(win_sources)
libboinc_fcgi_la_CFLAGS = -D_USING_FCGI_ $(AM_CFLAGS) $(PICFLAGS) $(PTHREAD_CFLAGS)
libboinc_fcgi_la_CXXFLAGS = -D_USING_FCGI_ $(AM_CXXFLAGS) $(PICFLAGS) $(PTHREAD_CFLAGS)
diff --git a/zip/Makefile.am b/zip/Makefile.am
index dde17a3fb5..5703274fff 100644
--- a/zip/Makefile.am
+++ b/zip/Makefile.am
@@ -60,7 +60,7 @@ libboinc_zip_sources += \
endif
lib_LTLIBRARIES = libboinc_zip.la
-pkgconfig_DATA = libboinc_zip.pc
+## pkgconfig_DATA = libboinc_zip.pc
libboinc_zip_la_SOURCES = $(libboinc_zip_sources)
libboinc_zip_la_LDFLAGS = -version-number $(LIBBOINC_VERSION)
libboinc_zip_la_LIBADD =