Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 85346 Details for
Bug 113533
sort missing option
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
more pretty patch:)
gentoo-obsd_dbeclass.patch (text/plain), 1.19 KB, created by
Karol Pasternak (RETIRED)
on 2006-04-24 02:42:11 UTC
(
hide
)
Description:
more pretty patch:)
Filename:
MIME Type:
Creator:
Karol Pasternak (RETIRED)
Created:
2006-04-24 02:42:11 UTC
Size:
1.19 KB
patch
obsolete
>--- db.eclass.orig 2006-04-24 10:45:17.362725000 +0200 >+++ db.eclass 2006-04-24 10:54:38.597800000 +0200 >@@ -15,10 +15,14 @@ > find ${ROOT}/usr/lib -maxdepth 1 -type l -name 'libdb[1._-]*so.[23]' -exec rm \{} \; > find ${ROOT}/usr/lib -maxdepth 1 -type l -name 'libdb[1._-]*a' -exec rm \{} \; > >+ # small wrapper for sort on gentoo and g/obsd >+ opt="-g" >+ [[ ${CHOST} = *-openbsd* ]] && opt="-n" >+ > # now rebuild all the correct ones > for ext in so a; do > for name in libdb libdb_cxx libdb_tcl libdb_java; do >- target=`find . -maxdepth 1 -type f -name "${name}-*.${ext}" |sort -g |tail -n 1` >+ target=`find . -maxdepth 1 -type f -name "${name}-*.${ext}" |sort ${opt} |tail -n 1` > [ -n "${target}" ] && ln -sf ${target//.\//} ${name}.${ext} > done; > done; >@@ -40,7 +44,7 @@ > # do the same for headers now > # but since there are only two of them, just overwrite them > cd ${ROOT}/usr/include >- target=`find . -maxdepth 1 -type d -name 'db[0-9]*' | sort -g |cut -d/ -f2- | tail -n1` >+ target=`find . -maxdepth 1 -type d -name 'db[0-9]*' | sort ${opt} |cut -d/ -f2- | tail -n1` > if [ -n "${target}" ] && [ -e "${target}/db.h" ]; then > einfo "Creating db.h symlinks to ${target}" > ln -sf ${target}/db.h .
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 113533
:
73549
| 85346