Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 562432 - dev-libs/leveldb: add support for FreeBSD
Summary: dev-libs/leveldb: add support for FreeBSD
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All FreeBSD
: Normal normal (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-06 20:13 UTC by Chí-Thanh Christopher Nguyễn
Modified: 2015-10-06 22:08 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
leveldb-1.18-r1.ebuild.patch (leveldb-1.18-r1.ebuild.patch,807 bytes, patch)
2015-10-06 20:13 UTC, Chí-Thanh Christopher Nguyễn
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chí-Thanh Christopher Nguyễn gentoo-dev 2015-10-06 20:13:00 UTC
Created attachment 413936 [details, diff]
leveldb-1.18-r1.ebuild.patch

The current leveldb ebuild hardcodes TARGET_OS="Linux" in src_configure(). This causes the build to fail on amd64-fbsd.

Attached patch makes the ebuild FreeBSD aware. Is that ok to commit?
Comment 1 Johan Bergström 2015-10-06 20:14:14 UTC
Looks good to me if it works (cant test it)!
Comment 2 Chí-Thanh Christopher Nguyễn gentoo-dev 2015-10-06 22:08:03 UTC
pushed to git