summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mail/thunderbird/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/mail/thunderbird/Makefile b/mail/thunderbird/Makefile
index e9617a39fc2..6c0f97b7cd5 100644
--- a/mail/thunderbird/Makefile
+++ b/mail/thunderbird/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.78 2011/12/05 13:20:36 dholland Exp $
+# $NetBSD: Makefile,v 1.79 2012/01/06 08:40:01 sbd Exp $
#
DISTNAME= thunderbird-${TB_VER}.source
@@ -24,6 +24,13 @@ CONFIGURE_ARGS+= --enable-application=mail
ALL_ENV+= MOZILLA_PKG_NAME=thunderbird
+.include "../../mk/bsd.prefs.mk"
+
+.if (${OPSYS} == "Linux" || ${OPSYS} == "SunOS" || ${OPSYS} == "Darwin") && \
+ (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64")
+BUILD_DEPENDS+= yasm>=1.1.0:../../devel/yasm
+.endif
+
#SUBST_CLASSES+= ext-compat
#SUBST_STAGE.ext-compat= pre-configure
#SUBST_MESSAGE.ext-compat= Fixing extension compatibility