From 19c6235750510abed45bbacac00688c6c2ba90ca Mon Sep 17 00:00:00 2001 From: lofi 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') 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