diff options
author | Oliver Eikemeier <eik@FreeBSD.org> | 2004-10-12 00:18:04 +0000 |
---|---|---|
committer | Oliver Eikemeier <eik@FreeBSD.org> | 2004-10-12 00:18:04 +0000 |
commit | 56e52a12ffee3854a6847addd1c4ff135c629ccb (patch) | |
tree | 1fd348d3e9c08064be3079d91acb17f2406d9220 /devel/popt | |
parent | - update to 5.0 (diff) |
check that at least gettext 0.13 is installed
Notes
Notes:
svn path=/head/; revision=118712
Diffstat (limited to 'devel/popt')
-rw-r--r-- | devel/popt/Makefile | 6 |
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> |