diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2018-12-01 19:46:29 +0100 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2018-12-01 19:46:41 +0100 |
commit | e8640288c58316fd8062caf4ce3ec546dc5da690 (patch) | |
tree | e9b65424f6806f0976e604960c298e23c6a1c4d0 | |
parent | net-firewall/conntrack-tools-1.4.5: added ~alpha, bug 653824 (diff) | |
download | gentoo-e8640288c58316fd8062caf4ce3ec546dc5da690.tar.gz gentoo-e8640288c58316fd8062caf4ce3ec546dc5da690.tar.bz2 gentoo-e8640288c58316fd8062caf4ce3ec546dc5da690.zip |
dev-libs/libowfat: fix header location
...and improve Gentoo prefix support.
Closes: https://bugs.gentoo.org/672342
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
-rw-r--r-- | dev-libs/libowfat/libowfat-0.32-r1.ebuild (renamed from dev-libs/libowfat/libowfat-0.32.ebuild) | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/dev-libs/libowfat/libowfat-0.32.ebuild b/dev-libs/libowfat/libowfat-0.32-r1.ebuild index daee3d504455..116551cefe17 100644 --- a/dev-libs/libowfat/libowfat-0.32.ebuild +++ b/dev-libs/libowfat/libowfat-0.32-r1.ebuild @@ -27,20 +27,19 @@ src_compile() { emake \ CC=$(tc-getCC) \ CFLAGS="-I. ${CFLAGS}" \ - DIET="/usr/bin/diet -Os" \ - prefix=/usr \ - INCLUDEDIR=/usr/include/libowfat \ + DIET="${EPREFIX%/}/usr/bin/diet -Os" \ + prefix="${EPREFIX%/}/usr" \ + INCLUDEDIR="${EPREFIX%/}/usr/include" \ $( use diet || echo 'DIET=' ) } src_install() { emake \ - DESTDIR="${D}" \ - LIBDIR="/usr/$(get_libdir)" \ - MAN3DIR="/usr/share/man/man3" \ - INCLUDEDIR="/usr/include/libowfat" \ + DESTDIR="${D%/}" \ + LIBDIR="${EPREFIX%/}/usr/$(get_libdir)" \ + MAN3DIR="${EPREFIX%/}/usr/share/man/man3" \ + INCLUDEDIR="${EPREFIX%/}/usr/include" \ install - cd "${D}"/usr/share/man - mv man3/buffer.3 man3/owfat-buffer.3 + mv "${ED%/}"/usr/share/man/man3/{buffer.3,owfat-buffer.3} || die } |