mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
Instead of checking for the existence of spec directories, check for
the actual specfile to be present.
This commit is contained in:
parent
97527ea1e9
commit
4c59237f06
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=103565
@ -64,7 +64,7 @@ EXTRACT_AFTER_ARGS=| ${TAR} -xf - \
|
||||
# The new devel/qmake port installs them under LOCALBASE. We can use
|
||||
# either one here, but we prefer the newer:
|
||||
.for d in ${X11BASE} ${LOCALBASE} ${PREFIX}
|
||||
. if exists($d/share/qt/mkspecs/freebsd-g++)
|
||||
. if exists($d/share/qt/mkspecs/freebsd-g++/qplatformdefs.h)
|
||||
QTBASE=$d
|
||||
PLATFORM=${QTBASE}/share/qt/mkspecs/freebsd-g++
|
||||
. endif
|
||||
|
Loading…
Reference in New Issue
Block a user