Skip to content

Commit

Permalink
dev-libs/btparser: Use eclass functions to obtain build variables
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <[email protected]>
  • Loading branch information
jlec committed Nov 12, 2015
1 parent 39af814 commit c81f41f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
6 changes: 2 additions & 4 deletions dev-libs/btparser/btparser-0.24.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,8 @@ DEPEND="${RDEPEND}
app-arch/xz-utils"

src_configure() {
# Configure checks for python.pc; our python-2.7 installs python-2.7.pc,
# while python-2.6 does not install any pkgconfig file.
export PYTHON_CFLAGS=$(python-config --includes)
export PYTHON_LIBS=$(python-config --libs)
export PYTHON_CFLAGS=$(python_get_CFLAGS)
export PYTHON_LIBS=$(python_get_LIBS)

econf \
$(use_enable static-libs static) \
Expand Down
6 changes: 2 additions & 4 deletions dev-libs/btparser/btparser-0.25.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,8 @@ src_prepare() {
}

src_configure() {
# Configure checks for python.pc; our python-2.7 installs python-2.7.pc,
# while python-2.6 does not install any pkgconfig file.
export PYTHON_CFLAGS=$(python-config --includes)
export PYTHON_LIBS=$(python-config --libs)
export PYTHON_CFLAGS=$(python_get_CFLAGS)
export PYTHON_LIBS=$(python_get_LIBS)

gnome2_src_configure \
$(use_enable static-libs static)
Expand Down

0 comments on commit c81f41f

Please sign in to comment.