Quellcode durchsuchen

use new X11 package

Ralf S. Engelschall vor 24 Jahren
Ursprung
Commit
6aa97ff7d0
1 geänderte Dateien mit 6 neuen und 3 gelöschten Zeilen
  1. 6 3
      gtk/gtk.spec

+ 6 - 3
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 \