Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 523872 Details for
Bug 650474
app-accessibility/speech-tools-2.5 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
speech-tools-2.5-all-sharedlib.patch
speech-tools-2.5-all-sharedlib.patch (text/plain), 2.27 KB, created by
Mihai Moldovan
on 2018-03-14 12:15:08 UTC
(
hide
)
Description:
speech-tools-2.5-all-sharedlib.patch
Filename:
MIME Type:
Creator:
Mihai Moldovan
Created:
2018-03-14 12:15:08 UTC
Size:
2.27 KB
patch
obsolete
>diff --git a/config/rules/defaults.mak b/config/rules/defaults.mak >index aca1573..cb3fcba 100644 >--- a/config/rules/defaults.mak >+++ b/config/rules/defaults.mak >@@ -69,15 +69,21 @@ ifdef N > MADE_FROM_ABOVE:=$(N) > endif > >+ifneq ($(SHARED),0) >+ LIBTYPE=so >+else >+ LIBTYPE=a >+endif >+ > ifndef PROJECT_LIBDEPS >- PROJECT_LIBDEPS = $(foreach l,$(PROJECT_LIBRARIES),$(PROJECT_LIBRARY_DIR_$(l))/lib$(l).a) >+ PROJECT_LIBDEPS = $(foreach l,$(PROJECT_LIBRARIES),$(PROJECT_LIBRARY_DIR_$(l))/lib$(l).$(LIBTYPE)) > endif > ifndef PROJECT_LIBS > PROJECT_LIBS = $(foreach l,$(PROJECT_LIBRARIES),-L$(PROJECT_LIBRARY_DIR_$(l)) -l$(l)) > endif > > ifndef REQUIRED_LIBDEPS >- REQUIRED_LIBDEPS = $(foreach l,$(REQUIRED_LIBRARIES),$(REQUIRED_LIBRARY_DIR_$(l))/lib$(l).a) >+ REQUIRED_LIBDEPS = $(foreach l,$(REQUIRED_LIBRARIES),$(REQUIRED_LIBRARY_DIR_$(l))/lib$(l).$(LIBTYPE)) > endif > ifndef REQUIRED_LIBS > REQUIRED_LIBS = $(foreach l,$(REQUIRED_LIBRARIES),-L$(REQUIRED_LIBRARY_DIR_$(l)) -l$(l)) >diff --git a/config/rules/library.mak b/config/rules/library.mak >index 0181988..2038239 100644 >--- a/config/rules/library.mak >+++ b/config/rules/library.mak >@@ -103,14 +103,14 @@ endif > ########################################################################### > > lib%.so : lib%.a >- @echo Make Shared Library $* >+ @echo Make Shared Library $(*F) > @if [ ! -d shared_space ] ; then mkdir shared_space ; else $(RM) -f shared_space/*.o ; fi > @(cd shared_space ; $(AR) x ../$< ) >- @echo Link Shared Library $* >- if [ -n "$(PROJECT_LIBRARY_NEEDS_SYSLIBS_$*)" ] ; then libs='$(JAVA_PROJECT_LIBS)' ; fi ;\ >- $(subst XXX,$@.$(PROJECT_LIBRARY_VERSION_$*),$(MAKE_SHARED_LIB)) shared_space/*.o $(PROJECT_LIBRARY_USES_$*:%=-L. -l%) $$libs >+ @echo Link Shared Library $(*F) >+ if [ -n "$(PROJECT_LIBRARY_NEEDS_SYSLIBS_$(*F))" ] ; then libs='$(JAVA_PROJECT_LIBS)' ; fi ;\ >+ $(subst XXX,$@.$(PROJECT_LIBRARY_VERSION_$(*F)),$(subst YYY,$(@F).$(PROJECT_LIBRARY_VERSION_$(*F)),$(MAKE_SHARED_LIB))) shared_space/*.o $(PROJECT_LIBRARY_USES_$(*F):%=-L. -l%) $$libs > @$(RM) -f shared_space/*.o $@ >- @ln -s $@.$(PROJECT_LIBRARY_VERSION_$*) $@ >+ @ln -s $(@F).$(PROJECT_LIBRARY_VERSION_$(*F)) $@ > > ########################################################################### > ## ##
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 650474
:
523866
|
523868
|
523870
| 523872 |
523874
|
523876
|
523878
|
523880
|
523882
|
523884
|
523886
|
523888
|
576406