summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/http-parser/http-parser-2.6.2.ebuild')
-rw-r--r--net-libs/http-parser/http-parser-2.6.2.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/net-libs/http-parser/http-parser-2.6.2.ebuild b/net-libs/http-parser/http-parser-2.6.2.ebuild
index 62d9938548be..33986a95474a 100644
--- a/net-libs/http-parser/http-parser-2.6.2.ebuild
+++ b/net-libs/http-parser/http-parser-2.6.2.ebuild
@@ -21,6 +21,7 @@ PATCHES=(
"${FILESDIR}"/0003-makefile-fix-SONAME-symlink-it-should-not-be-a-full-.patch
"${FILESDIR}"/0004-makefile-add-CFLAGS-to-linking-command.patch
"${FILESDIR}"/0005-makefile-fix-install-rule-dependency.patch
+ "${FILESDIR}"/${PN}-2.6.2-darwin.patch
)
src_prepare() {
@@ -30,7 +31,7 @@ src_prepare() {
}
multilib_src_compile() {
- emake CFLAGS_FAST="${CFLAGS}" library
+ emake PREFIX="${EPREFIX}/usr" LIBDIR="${EPREFIX}/usr/$(get_libdir)" CFLAGS_FAST="${CFLAGS}" library
use static-libs && emake CFLAGS_FAST="${CFLAGS}" package
}