diff options
Diffstat (limited to 'x11-toolkits/qt30/Makefile')
-rw-r--r-- | x11-toolkits/qt30/Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/x11-toolkits/qt30/Makefile b/x11-toolkits/qt30/Makefile index de1904daaf00..2f46eb5dd176 100644 --- a/x11-toolkits/qt30/Makefile +++ b/x11-toolkits/qt30/Makefile @@ -67,6 +67,10 @@ ALL_TARGET= symlinks sub-src sub-tools CFLAGS+= -O0 .endif +.if ${XFREE86_VERSION} < 4 +BROKEN= "The QT 3.x port does not support any XFree86 < 4.x" +.endif + .if defined(WITH_OPENGL) # Display WITH_OPENGL advisory. pre-everything: @@ -76,6 +80,16 @@ pre-everything: @${ECHO_MSG} '===> **************************************************' .endif +pre-fetch: +.if exists(${X11BASE}/include/qt2/qapp.h) + @${ECHO} + @${ECHO} " NOTICE" + @${ECHO} + @${ECHO} "You have QT2 headers installed! Installing this port" + @${ECHO} "will result in conflicts between QT3 and QT2!" + @${FALSE} +.endif + # Remove unneeded dirs (speedup) and fake netscape files. post-patch: @${FIND} ${WRKSRC} -name CVS | ${XARGS} ${RM} -fr |