Add POEDIT_USES_DB4 to BUILD_DEFS.

This commit is contained in:
Juan Romero Pardines 2003-08-05 03:26:01 +00:00
parent f608640868
commit 8b2e83d184

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.5 2003/06/03 05:08:01 xtraeme Exp $
# $NetBSD: Makefile,v 1.6 2003/08/05 03:26:01 xtraeme Exp $
#
DISTNAME= poedit-1.2.2
@ -9,7 +9,7 @@ MAINTAINER= jrp@hispabsd.org
HOMEPAGE= http://poedit.sourceforge.net/
COMMENT= Cross-platform gettext catalogs (.po files) editor
DEPENDS+= zip-[0-9]*:../../archivers/zip
DEPENDS+= zip-[0-9]*:../../archivers/zip
USE_BUILDLINK2= YES
GNU_CONFIGURE= YES
@ -17,7 +17,13 @@ USE_PKGLOCALEDIR= YES
USE_GMAKE= YES
USE_X11= YES
.if defined(POEDIT_USES_DB4) && ${POEDIT_USES_DB4} == YES
.include "../../mk/bsd.prefs.mk"
BUILD_DEFS= POEDIT_USES_DB4
POEDIT_USES_DB4?= NO
.if defined(POEDIT_USES_DB4) && !empty(POEDIT_USES_DB4:M[Yy][Ee][Ss])
BUILDLINK_DEPENDS.db4= db4>=4.0
.include "../../databases/db4/buildlink2.mk"
.endif