Several clenups:
- Mark as BROKEN if XFREE86_VERSION > 3; - update agpgart node creation information (it's not in MAKEDEV).
This commit is contained in:
parent
1d0c91c6a1
commit
d0e0b8fd75
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=32246
1 changed files with 5 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue