summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/examples/qt5-freeze/qt5.mk10
-rw-r--r--src/qt5.mk8
2 files changed, 9 insertions, 9 deletions
diff --git a/plugins/examples/qt5-freeze/qt5.mk b/plugins/examples/qt5-freeze/qt5.mk
index deef457..f26c7c2 100644
--- a/plugins/examples/qt5-freeze/qt5.mk
+++ b/plugins/examples/qt5-freeze/qt5.mk
@@ -1,10 +1,10 @@
# This file is part of MXE. See LICENSE.md for licensing information.
PKG := qt5
-$(PKG)_WEBSITE := http://qt-project.org/
+$(PKG)_WEBSITE := https://www.qt.io/
$(PKG)_DESCR := Qt
$(PKG)_VERSION = $(qtbase_VERSION)
-$(PKG)_DEPS := $(patsubst $(TOP_DIR)/src/%.mk,%,\
- $(shell grep -l 'qtbase_VERSION' \
- $(TOP_DIR)/src/qt*.mk \
- --exclude '$(TOP_DIR)/src/qt5.mk'))
+$(PKG)_DEPS := $(subst qt5, qtbase, \
+ $(patsubst $(dir $(lastword $(MAKEFILE_LIST)))/%.mk,%,\
+ $(shell grep -l 'qtbase_VERSION' \
+ $(dir $(lastword $(MAKEFILE_LIST)))/qt*.mk)))
diff --git a/src/qt5.mk b/src/qt5.mk
index 3c7bf02..f26c7c2 100644
--- a/src/qt5.mk
+++ b/src/qt5.mk
@@ -4,7 +4,7 @@ PKG := qt5
$(PKG)_WEBSITE := https://www.qt.io/
$(PKG)_DESCR := Qt
$(PKG)_VERSION = $(qtbase_VERSION)
-$(PKG)_DEPS := $(patsubst $(TOP_DIR)/src/%.mk,%,\
- $(shell grep -l 'qtbase_VERSION' \
- $(TOP_DIR)/src/qt*.mk \
- --exclude '$(TOP_DIR)/src/qt5.mk'))
+$(PKG)_DEPS := $(subst qt5, qtbase, \
+ $(patsubst $(dir $(lastword $(MAKEFILE_LIST)))/%.mk,%,\
+ $(shell grep -l 'qtbase_VERSION' \
+ $(dir $(lastword $(MAKEFILE_LIST)))/qt*.mk)))