1
0
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:
Joerg Wunsch 2005-03-16 22:41:11 +00:00
parent af5ed86738
commit b1346f6951
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=131444

View File

@ -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; \