summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-libs/gpm')
-rw-r--r--sys-libs/gpm/gpm-1.20.7-r2.ebuild19
1 files changed, 13 insertions, 6 deletions
diff --git a/sys-libs/gpm/gpm-1.20.7-r2.ebuild b/sys-libs/gpm/gpm-1.20.7-r2.ebuild
index ebfc8a741df..5fe58f872f0 100644
--- a/sys-libs/gpm/gpm-1.20.7-r2.ebuild
+++ b/sys-libs/gpm/gpm-1.20.7-r2.ebuild
@@ -61,16 +61,23 @@ multilib_src_configure() {
emacs=/bin/false
}
+_emake() {
+ emake \
+ EMACS=: ELISP="" \
+ $(multilib_is_native_abi || echo "PROG= ") \
+ "$@"
+}
+
multilib_src_compile() {
- emake EMACS=: $(multilib_is_native_abi || echo "PROG= ")
+ _emake
+}
+
+multilib_src_test() {
+ _emake check
}
multilib_src_install() {
- emake \
- DESTDIR="${D}" \
- EMACS=: ELISP="" \
- $(multilib_is_native_abi || echo "PROG= ") \
- install
+ _emake DESTDIR="${D}" install
dosym libgpm.so.1 /usr/$(get_libdir)/libgpm.so
gen_usr_ldscript -a gpm