From 4c59237f06348a6a4c83be581d363b6536c2ea69 Mon Sep 17 00:00:00 2001 From: Michael Nottebrock Date: Wed, 10 Mar 2004 21:11:02 +0000 Subject: Instead of checking for the existence of spec directories, check for the actual specfile to be present. --- x11-toolkits/qt33/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'x11-toolkits/qt33') diff --git a/x11-toolkits/qt33/Makefile b/x11-toolkits/qt33/Makefile index a594efb721b4..973ac805b9a8 100644 --- a/x11-toolkits/qt33/Makefile +++ b/x11-toolkits/qt33/Makefile @@ -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 -- cgit v1.2.3