1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

check that at least gettext 0.13 is installed

This commit is contained in:
Oliver Eikemeier 2004-10-12 00:18:04 +00:00
parent 4b187ea8bc
commit 56e52a12ff
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=118712

View File

@ -43,4 +43,10 @@ CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
pre-configure:
@if [ -n "`${PKG_INFO} -I 'gettext-0.1[012].*' 2>/dev/null`" ]; then \
${ECHO_CMD} "${PKGNAME}: requires at least gettext 0.13, please upgrade your installed version."; \
${FALSE}; \
fi
.include <bsd.port.mk>