diff options
author | joerg <joerg@FreeBSD.org> | 2005-03-17 06:41:11 +0800 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 2005-03-17 06:41:11 +0800 |
commit | 133379c8153158eb7fea6f569e31621d41da5eae (patch) | |
tree | 5531523633d073af2db3a82d0396a392815adc61 /print | |
parent | b1018fb97c8e9ee51d366e07ecba4fba5e20af49 (diff) | |
download | freebsd-ports-gnome-133379c8153158eb7fea6f569e31621d41da5eae.tar.gz freebsd-ports-gnome-133379c8153158eb7fea6f569e31621d41da5eae.tar.zst freebsd-ports-gnome-133379c8153158eb7fea6f569e31621d41da5eae.zip |
Fail installation with a meaningful message if the Linux ABI compatibility
is not available.
Diffstat (limited to 'print')
-rw-r--r-- | print/acroread/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/print/acroread/Makefile b/print/acroread/Makefile index 0e481df07c72..844fdd2d984a 100644 --- a/print/acroread/Makefile +++ b/print/acroread/Makefile @@ -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; \ |