Browse Source

Update for building on FreeBSD 5

master
Michael Schloh von Bennewitz 23 years ago committed by Ralf S. Engelschall
parent
commit
1ec5f80637
  1. 4
      j2se/j2se.spec
  2. 4
      j2se14/j2se14.spec

4
j2se/j2se.spec

@ -42,7 +42,7 @@ Distribution: OpenPKG [EVAL]
Group: Language Group: Language
License: Commercial License: Commercial
Version: %{V_openpkg} Version: %{V_openpkg}
Release: 20030115 Release: 20030117
# package options # package options
%option with_native yes %option with_native yes
@ -96,7 +96,7 @@ Provides: JDK, JRE
( umask 022 ( umask 022
cd $RPM_BUILD_ROOT%{l_prefix}/libexec cd $RPM_BUILD_ROOT%{l_prefix}/libexec
case "%{l_target}" in case "%{l_target}" in
ix86-freebsd4* ) ix86-freebsd4* | ix86-freebsd5* )
%if "%{with_native}" == "yes" %if "%{with_native}" == "yes"
%{l_bzip2} -d -c %{SOURCE j2sdk-%{V_bsd_dist}-freebsd-ix86.tar.bz2} |\ %{l_bzip2} -d -c %{SOURCE j2sdk-%{V_bsd_dist}-freebsd-ix86.tar.bz2} |\
%{l_tar} xf - %{l_tar} xf -

4
j2se14/j2se14.spec

@ -38,7 +38,7 @@ Distribution: OpenPKG [EVAL]
Group: Language Group: Language
License: Commercial License: Commercial
Version: %{V_openpkg} Version: %{V_openpkg}
Release: 20030108 Release: 20030117
# list of sources # list of sources
Source0: http://java.sun.com/j2se/::/j2sdk-%{V_sunjava}-linux-i586.bin Source0: http://java.sun.com/j2se/::/j2sdk-%{V_sunjava}-linux-i586.bin
@ -79,7 +79,7 @@ Provides: JDK, JRE
suppfile="" suppfile=""
pkgdir=%{V_filesys} pkgdir=%{V_filesys}
case "%{l_target}" in case "%{l_target}" in
ix86-linux2.[2-5]* | ix86-freebsd4* ) ix86-linux2.[2-5]* | ix86-freebsd4* | ix86-freebsd5* )
pkgfile="j2sdk-%{V_sunjava}-linux-i586.bin" pkgfile="j2sdk-%{V_sunjava}-linux-i586.bin"
pkgdir="j2sdk%{V_filesys}" pkgdir="j2sdk%{V_filesys}"
;; ;;

Loading…
Cancel
Save