|
|
@@ -33,18 +33,17 @@ Distribution: OpenPKG [EXP]
|
|
|
Group: Web
|
|
|
License: MPL
|
|
|
Version: 0.9.7
|
|
|
-Release: 20011222
|
|
|
+Release: 20020107
|
|
|
|
|
|
# list of sources
|
|
|
Source0: ftp://ftp.mozilla.org/pub/mozilla/releases/mozilla%{version}/src/mozilla-source-%{version}.tar.bz2
|
|
|
Source1: mozilla.sh
|
|
|
-Patch0: mozilla.patch.freebsd
|
|
|
|
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
|
BuildRoot: %{l_buildroot}
|
|
|
-BuildPreReq: OpenPKG, openpkg >= 20011227, make, gcc, glib, gtk, orbit
|
|
|
-PreReq: OpenPKG, openpkg >= 20011227, make, gcc, glib, gtk, orbit
|
|
|
+BuildPreReq: OpenPKG, openpkg >= 20011227, X11, make, gcc, glib, gtk, orbit
|
|
|
+PreReq: OpenPKG, openpkg >= 20011227, X11, make, gcc, glib, gtk, orbit
|
|
|
AutoReq: no
|
|
|
AutoReqProv: no
|
|
|
|
|
|
@@ -55,7 +54,6 @@ AutoReqProv: no
|
|
|
|
|
|
%prep
|
|
|
%setup -q -n mozilla
|
|
|
- #%patch -p0
|
|
|
|
|
|
%build
|
|
|
PATH="%{l_prefix}/bin:$PATH"; export PATH
|
|
|
@@ -74,6 +72,9 @@ AutoReqProv: no
|
|
|
--with-png=%{l_prefix} \
|
|
|
--with-zlib=%{l_prefix} \
|
|
|
--enable-toolkit=gtk \
|
|
|
+ --with-x \
|
|
|
+ --x-includes=`%{l_prefix}/etc/rc --query x11_incdir` \
|
|
|
+ --x-libraries=`%{l_prefix}/etc/rc --query x11_libdir` \
|
|
|
--with-gtk \
|
|
|
--with-gtk-prefix=%{l_prefix} \
|
|
|
--with-glib-prefix=%{l_prefix} \
|