mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-29 10:18:30 +00:00
Fail installation with a meaningful message if the Linux ABI compatibility
is not available.
This commit is contained in:
parent
af5ed86738
commit
b1346f6951
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=131444
@ -31,6 +31,9 @@ PLIST= ${WRKDIR}/plist
|
||||
PREFIX= ${LINUXBASE}
|
||||
|
||||
pre-install:
|
||||
@kldstat -v | grep -E 'linux(aout|elf)' >/dev/null ||\
|
||||
{ echo "Linux ABI compatibility must be enabled to install ${PORTNAME}-${PORTVERSION}"; \
|
||||
exit 1; }
|
||||
@${RM} -rf ${WRKSRC}/tmp
|
||||
@${MKDIR} ${WRKSRC}/tmp
|
||||
cd ${WRKSRC}/tmp; \
|
||||
|
Loading…
Reference in New Issue
Block a user