Lines 46-53
src_prepare() {
Link Here
|
46 |
} |
46 |
} |
47 |
|
47 |
|
48 |
src_configure() { |
48 |
src_configure() { |
|
|
49 |
local PPPD_VER=`best_version net-dialup/ppp` |
50 |
PPPD_VER=${PPPD_VER#*/*-} #reduce it to ${PV}-${PR} |
51 |
PPPD_VER=${PPPD_VER%%[_-]*} # main version without beta/pre/patch/revision |
49 |
local myeconfargs=( |
52 |
local myeconfargs=( |
50 |
--localstatedir=/var |
53 |
--localstatedir=/var |
|
|
54 |
--with-pppd-plugin-dir=/usr/$(get_libdir)/pppd/${PPPD_VER} |
51 |
$(use_with gnome) |
55 |
$(use_with gnome) |
52 |
$(use_enable static-libs static) |
56 |
$(use_enable static-libs static) |
53 |
) |
57 |
) |
54 |
- |
|
|