summaryrefslogtreecommitdiff
path: root/devel/poco/patches/patch-ag
blob: 02115dad6ab551c19058569e0af0a7be3ea7b843 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-ag,v 1.2 2016/01/16 12:15:12 ryoon Exp $

# Only include only the non-omitted components 

--- Makefile.orig	2015-08-04 05:21:07.000000000 +0000
+++ Makefile
@@ -27,7 +27,9 @@ poco: libexecs $(if $(TESTS),tests) $(if
 all: libexecs tests samples
 
 INSTALLDIR = $(DESTDIR)$(POCO_PREFIX)
-COMPONENTS = Foundation XML JSON Util Net Crypto NetSSL_OpenSSL Data Data/SQLite Data/ODBC Data/MySQL MongoDB Zip PageCompiler PageCompiler/File2Page
+Master_COMPONENTS = Foundation XML JSON Util Net Crypto NetSSL_OpenSSL Data Data/SQLite Data/ODBC Data/MySQL MongoDB Zip PageCompiler PageCompiler/File2Page
+
+COMPONENTS=$(filter-out $(foreach f,$(OMIT),$f%),$(Master_COMPONENTS))
 
 cppunit:
 	$(MAKE) -C $(POCO_BASE)/CppUnit