diff options
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/pkgconf/pkgconf-1.7.3-r1.ebuild (renamed from dev-util/pkgconf/pkgconf-1.7.3.ebuild) | 7 | ||||
-rw-r--r-- | dev-util/pkgconf/pkgconf-9999.ebuild | 7 |
2 files changed, 12 insertions, 2 deletions
diff --git a/dev-util/pkgconf/pkgconf-1.7.3.ebuild b/dev-util/pkgconf/pkgconf-1.7.3-r1.ebuild index a801ef026bff..e1d94a66add5 100644 --- a/dev-util/pkgconf/pkgconf-1.7.3.ebuild +++ b/dev-util/pkgconf/pkgconf-1.7.3-r1.ebuild @@ -54,7 +54,12 @@ src_prepare() { multilib_src_configure() { local ECONF_SOURCE="${S}" - econf --disable-static + local args=( + --disable-static + --with-system-includedir="${EPREFIX}/usr/include" + --with-system-libdir="${EPREFIX}/$(get_libdir):${EPREFIX}/usr/$(get_libdir)" + ) + econf "${args[@]}" } multilib_src_test() { diff --git a/dev-util/pkgconf/pkgconf-9999.ebuild b/dev-util/pkgconf/pkgconf-9999.ebuild index 40e4e28319d4..d592b7e54f14 100644 --- a/dev-util/pkgconf/pkgconf-9999.ebuild +++ b/dev-util/pkgconf/pkgconf-9999.ebuild @@ -54,7 +54,12 @@ src_prepare() { multilib_src_configure() { local ECONF_SOURCE="${S}" - econf --disable-static + local args=( + --disable-static + --with-system-includedir="${EPREFIX}/usr/include" + --with-system-libdir="${EPREFIX}/$(get_libdir):${EPREFIX}/usr/$(get_libdir)" + ) + econf "${args[@]}" } multilib_src_test() { |