diff --git a/pkgconfig/pkgconfig.spec b/pkgconfig/pkgconfig.spec index db955c00d8..b95be8ccfb 100644 --- a/pkgconfig/pkgconfig.spec +++ b/pkgconfig/pkgconfig.spec @@ -41,6 +41,8 @@ Patch0: pkgconfig.patch # build information BuildPreReq: OpenPKG, openpkg >= 20100101 PreReq: OpenPKG, openpkg >= 20100101 +BuildPreReq: glib2 +PreReq: glib2 %description pkg-config is a system for managing library compile/link flags @@ -60,7 +62,7 @@ PreReq: OpenPKG, openpkg >= 20100101 %{l_shtool} subst \ -e '/LINENO: error: C[+]* preprocessor/{N;N;N;N;s/.*/:/;}' \ -e 's;-Wall;;' \ - configure glib-*/configure + configure glib/configure %build libs="" @@ -75,6 +77,8 @@ PreReq: OpenPKG, openpkg >= 20100101 --prefix=%{l_prefix} \ --mandir=%{l_prefix}/man \ --enable-indirect-deps=yes \ + --without-internal-glib \ + --disable-nls \ --disable-shared %{l_make} %{l_mflags -O}