diff --git a/gtk/gtk.spec b/gtk/gtk.spec index bba3e7c213..d36f0e6d45 100644 --- a/gtk/gtk.spec +++ b/gtk/gtk.spec @@ -33,7 +33,7 @@ Distribution: OpenPKG [EXP] Group: X11 License: GPL Version: 1.2.10 -Release: 20011201 +Release: 20011228 # list of sources Source0: ftp://ftp.gtk.org/pub/gtk/v1.2/gtk+-%{version}.tar.gz @@ -41,8 +41,8 @@ Source0: ftp://ftp.gtk.org/pub/gtk/v1.2/gtk+-%{version}.tar.gz # build information Prefix: %{l_prefix} BuildRoot: %{l_buildroot} -BuildPreReq: OpenPKG, openpkg >= 20011227, glib -PreReq: OpenPKG, openpkg >= 20011227, glib +BuildPreReq: OpenPKG, openpkg >= 20011227, glib, X11 +PreReq: OpenPKG, openpkg >= 20011227, glib, X11 AutoReq: no AutoReqProv: no @@ -60,6 +60,9 @@ AutoReqProv: no CFLAGS="%{l_cflags -O}" \ ./configure \ --prefix=%{l_prefix} \ + --with-x \ + --x-includes=`%{l_prefix}/etc/rc --query x11_incdir` \ + --x-libraries=`%{l_prefix}/etc/rc --query x11_libdir` \ --with-glib-prefix=%{l_prefix} \ --disable-nls \ --with-native-locale=no \