diff options
author | dillo <dillo@pkgsrc.org> | 2005-07-22 14:12:22 +0000 |
---|---|---|
committer | dillo <dillo@pkgsrc.org> | 2005-07-22 14:12:22 +0000 |
commit | b06184ddb19d01c19f6f82fc9c4ac65f869b3de2 (patch) | |
tree | bd376e34300dd9745379a8741724f05d3e43f830 /www/epiphany-extensions | |
parent | 84636b24f45e2b1a30c2d596258d7e12db2c14d9 (diff) | |
download | pkgsrc-b06184ddb19d01c19f6f82fc9c4ac65f869b3de2.tar.gz |
adapt to GECKO_PROVIDER -> options change.
Diffstat (limited to 'www/epiphany-extensions')
-rw-r--r-- | www/epiphany-extensions/Makefile | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/www/epiphany-extensions/Makefile b/www/epiphany-extensions/Makefile index 409bdcdd39b..121acd27990 100644 --- a/www/epiphany-extensions/Makefile +++ b/www/epiphany-extensions/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2005/07/21 16:29:59 wiz Exp $ +# $NetBSD: Makefile,v 1.15 2005/07/22 14:12:22 dillo Exp $ # DISTNAME= epiphany-extensions-1.6.4 @@ -20,9 +20,12 @@ USE_PKGLOCALEDIR= YES CONFIGURE_ARGS+= --enable-compile-warnings=no CONFIGURE_ARGS+= --with-extensions=all -.include "../../mk/bsd.prefs.mk" +# this should use the same gecko option as epiphany +PKG_OPTIONS_VAR= PKG_OPTIONS.epiphany +.include "../../www/mozilla/gecko-options.mk" +.include "../../mk/bsd.options.mk" -.if ${GECKO_PROVIDER} == "firefox" +.if !empty(PKG_OPTIONS:Mfirefox) CPPFLAGS+= -I${BUILDLINK_PREFIX.firefox}/include/firefox/dom CPPFLAGS+= -I${BUILDLINK_PREFIX.firefox}/include/firefox/pref CPPFLAGS+= -I${BUILDLINK_PREFIX.firefox}/include/firefox/webbrwsr @@ -43,10 +46,6 @@ BUILDLINK_DEPENDS.glib2+= glib2>=2.6.0 .include "../../textproc/libxml2/buildlink3.mk" .include "../../textproc/opensp/buildlink3.mk" .include "../../www/epiphany/buildlink3.mk" -.if ${GECKO_PROVIDER} == "firefox" -.include "../../www/firefox/buildlink3.mk" -.else -.include "../../www/mozilla-gtk2/buildlink3.mk" -.endif +.include "../../www/mozilla/gecko-depends.mk" .include "../../x11/gtk2/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |