mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
Add a conditional IGNORE so people using a too old Linux base get a
(hopefully) more meaningful error message than a link errror at start. Discussed on: freebsd-emulation@, see this thread: http://lists.freebsd.org/pipermail/freebsd-emulation/2009-October/006970.html
This commit is contained in:
parent
a13461ec99
commit
92a21c7a1a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=243063
@ -38,6 +38,14 @@ RUN_DEPENDS+= ${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/x11/nvidia-driver
|
||||
USE_LINUX_APPS+= dri
|
||||
.endif
|
||||
|
||||
.if ${OSVERSION}<700055
|
||||
IGNORE= FreeBSD>=7.X is needed with Linux emulation 2.6.x.
|
||||
.elif ${OSVERSION}<800076 && \
|
||||
! defined (OVERRIDE_LINUX_NONBASE_PORTS) || \
|
||||
! (${OVERRIDE_LINUX_NONBASE_PORTS} == f10)
|
||||
IGNORE= needs non-default linux ports (define OVERRIDE_LINUX_BASE_PORT=f10 and OVERRIDE_LINUX_NONBASE_PORTS=f10)
|
||||
.endif
|
||||
|
||||
do-extract:
|
||||
@${MKDIR} ${WRKSRC}
|
||||
@${CP} ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} ${WRKSRC}
|
||||
|
Loading…
Reference in New Issue
Block a user