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

4
j2se14/j2se14.spec

@ -38,7 +38,7 @@ Distribution: OpenPKG [EVAL]
Group: Language
License: Commercial
Version: %{V_openpkg}
Release: 20030108
Release: 20030117
# list of sources
Source0: http://java.sun.com/j2se/::/j2sdk-%{V_sunjava}-linux-i586.bin
@ -79,7 +79,7 @@ Provides: JDK, JRE
suppfile=""
pkgdir=%{V_filesys}
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"
pkgdir="j2sdk%{V_filesys}"
;;

Loading…
Cancel
Save