diff options
-rw-r--r-- | graphics/utah-glx/Makefile | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/graphics/utah-glx/Makefile b/graphics/utah-glx/Makefile index 43296745e2d5..51d686800b64 100644 --- a/graphics/utah-glx/Makefile +++ b/graphics/utah-glx/Makefile @@ -46,18 +46,16 @@ ALL_TARGET= depend all .include <bsd.port.pre.mk> -post-extract: - @${ECHO_MSG} - @${ECHO_MSG} "WARNING: This port will only work with XFree86 3.3 series of X-servers." - @${ECHO_MSG} " Users of XFree86 4.0 and above should use DRI instead." - @${ECHO_MSG} +.if ${XFREE86_VERSION} > 3 +BROKEN= "Requires XFree86 3.3.* - will not work with XFree86 4.*" +.endif pre-build: @find ${WRKSRC} -type f | xargs grep -l linux/agpgart | \ xargs perl -pi -e "s|linux/agpgart|sys/agpio|" pre-install: -.if exists(${PREFIX}/lib/libGL.so.${GLVER}) && !defined(GL_CHECK_OVERRIDE) +.if exists(${PREFIX}/lib/libGL.so.${GLVER}) && !defined(GL_CHECK_OVERRIDE) && !defined(PACKAGE_BUILDING) @${ECHO_MSG} @${ECHO_MSG} "ERROR: It seems that another GL implementation currently installed in" @${ECHO_MSG} " ${PREFIX}/lib/libGL.so.${GLVER}" @@ -71,7 +69,7 @@ post-install: .if exists(/usr/include/sys/agpio.h) @${ECHO_MSG} @${ECHO_MSG} "The module has been built with experimental AGP support. To use it you should" - @${ECHO_MSG} "create device node for agp driver (mknod ${AGP_DEVICE} c 148 0) and enable" + @${ECHO_MSG} "create device node for agp driver (cd /dev ; sh MAKEDEV agpgart) and enable" @${ECHO_MSG} "AGP support in ${PREFIX}/etc/glx.conf file." @${ECHO_MSG} .endif |