diff options
Diffstat (limited to 'dev-libs/liblinear')
-rw-r--r-- | dev-libs/liblinear/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/liblinear/liblinear-241.ebuild | 10 |
2 files changed, 9 insertions, 3 deletions
diff --git a/dev-libs/liblinear/Manifest b/dev-libs/liblinear/Manifest index 28d4bb4c0a40..70e770efaebc 100644 --- a/dev-libs/liblinear/Manifest +++ b/dev-libs/liblinear/Manifest @@ -7,5 +7,5 @@ EBUILD liblinear-210-r1.ebuild 1164 BLAKE2B 2f0412e646bf6a35ade1f2bd59c74cb98918 EBUILD liblinear-221.ebuild 1197 BLAKE2B 64ad293b87d993029ab7348cfcf70d10d110f65bd91fd3eb1cb98d9f5dc533a88f33af75d9eb599f29b1f5168a34694a5defee5b1ddeb536fb33efe6d4914b35 SHA512 5734a47d1ed7565a5ebed78d2c1e200c9d2efa9a725e532e05af6af543ce078746b1ad0a33ae0c6dafdacd1e51dda15aee22ad0b7fd7b4ad01ab5b98980d5912 EBUILD liblinear-230.ebuild 1197 BLAKE2B 64ad293b87d993029ab7348cfcf70d10d110f65bd91fd3eb1cb98d9f5dc533a88f33af75d9eb599f29b1f5168a34694a5defee5b1ddeb536fb33efe6d4914b35 SHA512 5734a47d1ed7565a5ebed78d2c1e200c9d2efa9a725e532e05af6af543ce078746b1ad0a33ae0c6dafdacd1e51dda15aee22ad0b7fd7b4ad01ab5b98980d5912 EBUILD liblinear-240-r1.ebuild 1197 BLAKE2B b5fe1724ad652ab0edbde72c15403c4ffd261c046a51636529eec347291a3e835a31a0e6b17cca09a4699057d1432e3966d40fd2d253a7e2a8cfc429adcf2e33 SHA512 1a3cc696d0c8b6783be860522ed931057bd334f73ed4033f763d74a564db453d6141e6423a3a633013469359801e379797c448bf8faecf1340b28f92413aecc5 -EBUILD liblinear-241.ebuild 1189 BLAKE2B 62d3178aaa9d4fd1a8b61984c42eb556686d88f0a0d92a8d93b01c968cabc7e831bcdf1d821bf400fc464290e2ff572f6b2d964850f54d4f25bf5a6084def63b SHA512 9b6a207306e2e585693338dfe8192242334e93e50bb0b55ade7d42498994734c8ec931657d66abccf77c5987167f006be45968284cb9497ed41e07acc83c3e92 +EBUILD liblinear-241.ebuild 1459 BLAKE2B c2053330cc42af2e9e8e7efd0cd676f2d3e99dd9839e2a8c60215a142e098adebbbd2a6e60f5a1775179dac886de5d5d905c27fc473885e5546b3a9000b879a4 SHA512 61ca6696331498d62a5d983d23122158e7bcea23b4a7bcf50c0b7ef8ae64fc637e025222bb4488b1acfe329e169d4b0ed4503c33142a18c4f208ba933acc6d4e MISC metadata.xml 320 BLAKE2B a4ab81f29b93f305fc5a005917955d67596886df3a9ee7708734714ca0c052297d4bf18b68cbe6de7f42a1e0f4f6052a1b0a93390c17bbe554bc3f536db5b251 SHA512 34ae964cd916b9a3cf711def8a12c20c4fb7642d569d07d019abc12804f013c90081da4d5b1802a0cd8fccec98c5929554766ac575d992a9fdce8d574f2d311e diff --git a/dev-libs/liblinear/liblinear-241.ebuild b/dev-libs/liblinear/liblinear-241.ebuild index d5be92f8f8d3..94375db456f1 100644 --- a/dev-libs/liblinear/liblinear-241.ebuild +++ b/dev-libs/liblinear/liblinear-241.ebuild @@ -26,6 +26,12 @@ src_prepare() { -e '/^CFLAGS/d;/^CXXFLAGS/d' \ -e 's|$${SHARED_LIB_FLAG}|& $(LDFLAGS)|g' \ Makefile || die + + # fix install_name on Darwin + sed -i \ + -e '/install_name/s:liblinear.so.$(SHVER):'"${EPREFIX}"'/usr/lib/liblinear.$(SHVER).dylib:' \ + -e '/LDFLAGS/s:liblinear.so.$(SHVER):liblinear'"$(get_libname '$(SHVER)')"':' \ + Makefile || die } src_compile() { @@ -40,8 +46,8 @@ src_compile() { } src_install() { - dolib.so ${PN}.so.4 - dosym ${PN}.so.4 /usr/$(get_libdir)/${PN}.so + dolib.so ${PN}$(get_libname 4) + dosym ${PN}$(get_libname 4) /usr/$(get_libdir)/${PN}$(get_libname) newbin predict ${PN}-predict newbin train ${PN}-train |