ALT Linux Bugzilla
– Attachment 1290 Details for
Bug 8626
Ошибка сборки libdb4.3 без TCL
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Патч к спеку
libdb4.3.spec.diff (text/plain), 1.48 KB, created by
Dmitry Sinyavin
on 2005-12-12 09:30:47 MSK
(
hide
)
Description:
Патч к спеку
Filename:
MIME Type:
Creator:
Dmitry Sinyavin
Created:
2005-12-12 09:30:47 MSK
Size:
1.48 KB
patch
obsolete
>--- libdb4.3.spec.orig 2005-10-13 15:15:46 +0400 >+++ libdb4.3.spec 2005-12-12 09:15:36 +0300 >@@ -310,7 +310,7 @@ > %{subst_enable test} \ > %{subst_enable uimutexes} \ > %{subst_enable umrw} \ >- --with-tcl=%_libdir \ >+ %{?_enable_tcl:--with-tcl=%_libdir} \ > # > # Remove libtool predep_objects and postdep_objects wonkiness > %__subst -p 's/-shared -nostdlib/-shared/' libtool >@@ -322,7 +322,10 @@ > rm -f examples_*/tags > > %install >-mkdir -p %buildroot{/%_lib,%_libdir,%_tcllibdir,%_tcldatadir/Db_tcl,%_includedir/db4} >+mkdir -p %buildroot{/%_lib,%_libdir,%_includedir/db4} >+%if_enabled tcl >+mkdir -p %buildroot{%_tcllibdir,%_tcldatadir/Db_tcl} >+%endif > > %define docdir %_docdir/%srcname > %makeinstall -C build_unix docdir=%buildroot%docdir >@@ -349,8 +352,10 @@ > popd > rm .%_libdir/libdb_int-*.a > >+%if_enabled tcl > mv .%_libdir/libdb_tcl* .%_tcllibdir/ > rm .%_tcllibdir/*.la >+%endif > > mv .%_includedir/*.h .%_includedir/db4/ > %__ln_s db4/db.h db4/db_185.h .%_includedir/ >@@ -359,7 +364,9 @@ > #done > popd > >+%if_enabled tcl > %tea_makeindex -f libdb_tcl-%_sover.so -C %buildroot%_tcldatadir/Db_tcl >+%endif > > %if_enabled java > # Move java jar file to the correct place. >@@ -371,7 +378,7 @@ > for n in db%_sover-utils \ > %name{,-devel{,-static}} \ > %{name}_cxx{,-devel{,-static}} \ >- %{name}_tcl{,-devel{,-static}} \ >+ %{?_enable_tcl:%{name}_tcl{,-devel{,-static}}} \ > %{name}_java{,-devel{,-static}}; do > echo "${n/%_sover/4}" >"%buildroot%_sysconfdir/buildreqs/packages/substitute.d/$n" > done
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 8626
: 1290