Skip to content

Commit

Permalink
qt5.qtbase: remove broken QMAKEMODULES code
Browse files Browse the repository at this point in the history
It never worked and it's just an attempt to duplicate the logic
from qmake (i.e. QMAKEPATH -> QMAKEMODULES translation) that qmake
does all by itself.
  • Loading branch information
eryngion authored and Artturin committed May 28, 2024
1 parent 0199c73 commit dbabeed
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkgs/development/libraries/qt-5/hooks/qtbase-setup-hook.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,6 @@ export QMAKE
QMAKEPATH=
export QMAKEPATH

QMAKEMODULES=
export QMAKEMODULES

declare -Ag qmakePathSeen=()
qmakePathHook() {
# Skip this path if we have seen it before.
Expand All @@ -76,7 +73,6 @@ qmakePathHook() {
qmakePathSeen[$1]=1
if [ -d "$1/mkspecs" ]
then
QMAKEMODULES="${QMAKEMODULES}${QMAKEMODULES:+:}/mkspecs"
QMAKEPATH="${QMAKEPATH}${QMAKEPATH:+:}$1"
fi
}
Expand Down

0 comments on commit dbabeed

Please sign in to comment.