File tomcat-8.0.9-property-build.windows.patch of Package tomcat.4279

Index: apache-tomcat-8.0.32-src/build.properties.default
===================================================================
--- apache-tomcat-8.0.32-src.orig/build.properties.default
+++ apache-tomcat-8.0.32-src/build.properties.default
@@ -58,6 +58,9 @@ execute.findbugs=false
 # multicast tests to work
 java.net.preferIPv4Stack=false
 
+# ----- Build on Windows ----
+build.windows=false
+
 # Location of GPG executable (used only for releases)
 gpg.exec=/path/to/gpg
 
Index: apache-tomcat-8.0.32-src/build.xml
===================================================================
--- apache-tomcat-8.0.32-src.orig/build.xml
+++ apache-tomcat-8.0.32-src/build.xml
@@ -2844,7 +2844,7 @@ skip.installer property in build.propert
   </target>
 
   <target name="download-dist"
-          description="Download additional components for a distribution" >
+          description="Download additional components for a distribution" if="${build.windows}">
 
     <antcall target="downloadzip-2">
       <param name="sourcefile.1" value="${tomcat-native.win.1}"/>
openSUSE Build Service is sponsored by