aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authoreik <eik@FreeBSD.org>2004-10-12 08:18:04 +0800
committereik <eik@FreeBSD.org>2004-10-12 08:18:04 +0800
commit20d86d5c784f68641dd42e2a9bcec92b52a3287b (patch)
tree07536e60e4f8aa6f4886f0d9c96067b714ca1016 /devel
parent935e6bd8df10eb5009359f92461217de7041ee8f (diff)
downloadfreebsd-ports-gnome-20d86d5c784f68641dd42e2a9bcec92b52a3287b.tar.gz
freebsd-ports-gnome-20d86d5c784f68641dd42e2a9bcec92b52a3287b.tar.zst
freebsd-ports-gnome-20d86d5c784f68641dd42e2a9bcec92b52a3287b.zip
check that at least gettext 0.13 is installed
Diffstat (limited to 'devel')
-rw-r--r--devel/popt/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/devel/popt/Makefile b/devel/popt/Makefile
index 99329de33d02..4e9b892f2a75 100644
--- a/devel/popt/Makefile
+++ b/devel/popt/Makefile
@@ -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>