aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--skype/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/skype/Makefile b/skype/Makefile
index 1f81a2e6..b56958d2 100644
--- a/skype/Makefile
+++ b/skype/Makefile
@@ -7,6 +7,11 @@ BITLBEE_VERSION = 1.2.3
AMPATH = $(shell grep automake- $(shell which automake)|sed "s|.*'\(.*\)';|\1|")
+ifeq ($(AMPATH),)
+# Gentoo, it has some crappy wrapper
+AMPATH = $(shell find /usr/share/ -maxdepth 1 -name 'automake-*'|tail -n 1)
+endif
+
ifeq ($(BITLBEE),yes)
all: skype.$(SHARED_EXT) skyped.1
else