summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-12-07 02:50:22 -0500
committerMike Frysinger <vapier@gentoo.org>2016-12-07 02:50:36 -0500
commit1afc4da94c40f9fe5c1f5d09edc4048ede4e4f3e (patch)
tree6eac9f07b8be164a6feb100c31f8f0ff4a47519f /sys-libs/gpm
parentmedia-libs/libde265: drop myself from maintainer list (diff)
downloadgentoo-1afc4da94c40f9fe5c1f5d09edc4048ede4e4f3e.tar.gz
gentoo-1afc4da94c40f9fe5c1f5d09edc4048ede4e4f3e.tar.bz2
gentoo-1afc4da94c40f9fe5c1f5d09edc4048ede4e4f3e.zip
sys-libs/gpm: disable EMACS/ELISP at all build steps #586880
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