patch-build_xml 2.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. $OpenBSD: patch-build_xml,v 1.1.1.1 2013/07/10 14:40:29 jasper Exp $
  2. Correctly recognize and handle OpenBSD.
  3. --- build.xml.orig Wed Apr 17 07:48:52 2013
  4. +++ build.xml Tue Jul 2 14:28:54 2013
  5. @@ -95,6 +95,9 @@
  6. <condition property="dist.os" value="os400">
  7. <equals arg1="${os.name}" arg2="OS/400"/>
  8. </condition>
  9. + <condition property="dist.os" value="openbsd">
  10. + <equals arg1="${os.name}" arg2="OpenBSD"/>
  11. + </condition>
  12. <property name="dist.os" value="${os.name}"/>
  13. <!-- Resolve an architecture to use in release names. -->
  14. @@ -395,6 +398,7 @@
  15. <or>
  16. <isset property="is.osf1"/>
  17. <isset property="is.freebsd"/>
  18. + <isset property="is.openbsd"/>
  19. <isset property="is.irix"/>
  20. <isset property="is.solaris"/>
  21. </or>
  22. @@ -1833,6 +1837,8 @@ original tar distribution due to a lack of support for
  23. <release-delta-extract-platform osname="windows" osarch="x86" bits="32" wrapperbinhead="wrapper" wrapperbintail=".exe" wrapperlibhead="wrapper" wrapperlibtail=".dll" archivetype="zip"/>
  24. <release-delta-extract-platform osname="linux" osarch="armel" bits="32" wrapperbinhead="wrapper" wrapperbintail="" wrapperlibhead="libwrapper" wrapperlibtail=".so" archivetype="tar.gz"/>
  25. <release-delta-extract-platform osname="linux" osarch="armhf" bits="32" wrapperbinhead="wrapper" wrapperbintail="" wrapperlibhead="libwrapper" wrapperlibtail=".so" archivetype="tar.gz"/>
  26. + <release-delta-extract-platform osname="openbsd" osarch="x86" bits="32" wrapperbinhead="wrapper" wrapperbintail="" wrapperlibhead="libwrapper" wrapperlibtail=".so" archivetype="tar.gz"/>
  27. + <release-delta-extract-platform osname="openbsd" osarch="x86" bits="64" wrapperbinhead="wrapper" wrapperbintail="" wrapperlibhead="libwrapper" wrapperlibtail=".so" archivetype="tar.gz"/>
  28. </target>
  29. <target name="release-delta" depends="pre-release:check, release-delta:init, pre-release:restore-jdocs, release-delta:extract-platforms">
  30. <property name="deltareleasefile" value="wrapper-delta-pack-${version}"/>