diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2000-09-04 12:32:19 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2000-09-04 12:32:19 +0000 |
commit | d0e0b8fd75f9c91b1f651c4e71cce8889414687d (patch) | |
tree | 6c332cc18831006ac4d699eb8bf1ca45ebdb56a8 /graphics | |
parent | Upgrade to 0.9.1. (diff) |
Several clenups:
- Mark as BROKEN if XFREE86_VERSION > 3;
- update agpgart node creation information (it's not in MAKEDEV).
Notes
Notes:
svn path=/head/; revision=32246
Diffstat (limited to 'graphics')
-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 |