pkgsrc/www/firefox/Makefile-firefox.common

40 lines
1 KiB
Text

# $NetBSD: Makefile-firefox.common,v 1.57 2008/05/19 10:43:02 tnn Exp $
# used by www/firefox/Makefile
MOZILLA_BIN= firefox-bin
MOZ_VER= 2.0.0.14
EXTRACT_SUFX= .tar.bz2
DISTNAME= firefox-${MOZ_VER}-source
MASTER_SITES= ${MASTER_SITE_MOZILLA:=firefox/releases/${MOZ_VER}/source/}
HOMEPAGE= http://www.mozilla.com/en-US/firefox/
PKG_DESTDIR_SUPPORT= user-destdir
DISTINFO_FILE= ${.CURDIR}/../../www/firefox/distinfo
PATCHDIR= ${.CURDIR}/../../www/firefox/patches
CONFIGURE_ARGS+= --enable-application=browser
CONFIGURE_ARGS+= --without-gssapi
CONFIGURE_ARGS+= --enable-canvas
MOZILLA_EXTENSIONS= default
CONFIGURE_ARGS+= --enable-extensions=${MOZILLA_EXTENSIONS:Q}
CONFIGURE_ENV+= ac_cv_visibility_pragma=no ac_cv_visibility_hidden=no
.include "../../mk/bsd.fast.prefs.mk"
.if ${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly"
CPPFLAGS+= -DSQLITE_THREAD_OVERRIDE_LOCK=0
.endif
USE_LANGUAGES+= c++
BUILD_SVG= # yes
BUILD_MATHML= # yes
.include "../../www/firefox/Makefile.common"
INSTALL_TEMPLATES+= ${.CURDIR}/../../www/firefox/INSTALL