summaryrefslogtreecommitdiff
path: root/sci-libs/libdap/files/libdap-3.18.1-fix-buildsystem.patch
blob: f36fdceb1fd085479969edd94bcae62ef0744292 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Do not install headers and static library required only for test suite.

--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -36,13 +36,13 @@
 # Build the test drivers. The drivers all use the
 # subclassed types in Test*.cc and the TestTypesFactory.
 
-lib_LIBRARIES = libtest-types.a
+noinst_LIBRARIES = libtest-types.a
 
 libtest_types_a_SOURCES = $(TESTSRCS) $(TEST_HDR)
 libtest_types_a_CXXFLAGS = -fPIC
 
 testheadersdir = $(pkgincludedir)/test
-testheaders_HEADERS = $(TEST_HDR)
+noinst_testheaders = $(TEST_HDR)
 
 das_test_SOURCES = das-test.cc
 das_test_LDADD =  libtest-types.a ../libdapserver.la ../libdap.la