summaryrefslogtreecommitdiff
path: root/www/firefox
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2017-03-20 13:39:33 +0000
committerryoon <ryoon@pkgsrc.org>2017-03-20 13:39:33 +0000
commit0e8e0c9f5517f5529b40b5844f44f4190d8bb77d (patch)
treeb08cc3752627173ea79bf8be77b9d2ba630c5a7a /www/firefox
parent5bf7c27dc6846e5a0c929d390062988a1ecd9229 (diff)
downloadpkgsrc-0e8e0c9f5517f5529b40b5844f44f4190d8bb77d.tar.gz
gtk2 is still required from gtk3 option. Fix configure
Diffstat (limited to 'www/firefox')
-rw-r--r--www/firefox/options.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/www/firefox/options.mk b/www/firefox/options.mk
index d58f71a14d6..51d4766edea 100644
--- a/www/firefox/options.mk
+++ b/www/firefox/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.39 2017/03/20 10:54:46 szptvlfn Exp $
+# $NetBSD: options.mk,v 1.40 2017/03/20 13:39:33 ryoon Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.firefox
@@ -31,7 +31,6 @@ PKG_SUGGESTED_OPTIONS.Linux+= webrtc
PLIST_VARS+= gtk3
.if !empty(PKG_OPTIONS:Mgtk2)
CONFIGURE_ARGS+= --enable-default-toolkit=cairo-gtk2
-# gtk2 needed even if --enable-default-toolkit=cairo-gtk3
BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.18.3nb1
.include "../../x11/gtk2/buildlink3.mk"
.endif
@@ -39,6 +38,9 @@ BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.18.3nb1
# As of firefox-51 gtk2 is still pulled in implicitly
.if !empty(PKG_OPTIONS:Mgtk3)
CONFIGURE_ARGS+= --enable-default-toolkit=cairo-gtk3
+# gtk2 needed even if --enable-default-toolkit=cairo-gtk3
+BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.18.3nb1
+.include "../../x11/gtk2/buildlink3.mk"
.include "../../x11/gtk3/buildlink3.mk"
PLIST.gtk3= yes
.endif