Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --- pkgsrc/www/arcticfox/Makefile 2022/05/05 14:07:38 1.8 +++ pkgsrc/www/arcticfox/Makefile 2023/07/22 10:31:38 1.30 @@ -1,12 +1,14 @@ -# $NetBSD: Makefile,v 1.8 2022/05/05 14:07:38 nia Exp $ +# $NetBSD: Makefile,v 1.30 2023/07/22 10:31:38 nia Exp $ -DISTNAME= arcticfox-39.1 +DISTNAME= arcticfox-41.0 +PKGREVISION= 2 CATEGORIES= www -MASTER_SITES= ${MASTER_SITE_GITHUB:=wicknix/} +MASTER_SITES= ${MASTER_SITE_GITHUB:=rmottola/} GITHUB_PROJECT= Arctic-Fox GITHUB_TAG= v${PKGVERSION_NOREV} +DIST_SUBDIR= arctic-fox -MAINTAINER= pkgsrc-users@NetBSD.org +MAINTAINER= nia@NetBSD.org HOMEPAGE= https://github.com/wicknix/Arctic-Fox COMMENT= Web browser for aging systems, forked from Firefox LICENSE= mpl-1.1 @@ -17,9 +19,13 @@ USE_TOOLS+= zip unzip gmake GNU_CONFIGURE= yes USE_LANGUAGES= c c++ +OVERRIDE_GNU_CONFIG_SCRIPTS= # yes +OVERRIDE_DIRDEPTH= 5 + CONFIGURE_ARGS+= --disable-crashreporter CONFIGURE_ARGS+= --disable-tests CONFIGURE_ARGS+= --disable-debug +CONFIGURE_ARGS+= --disable-gstreamer CONFIGURE_ARGS+= --disable-updater CONFIGURE_ARGS+= --disable-mozril-geoloc CONFIGURE_ARGS+= --disable-webrtc @@ -53,17 +59,17 @@ CONFIGURE_ARGS+= --with-system-nss CONFIGURE_ARGS+= --with-system-nspr CONFIGURE_ARGS+= --with-system-zlib +.if ${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "sparc64" +# Without this NetBSD/sparc64 starts, but crashes on some sites +SSP_SUPPORTED= no +.endif + .include "../../mk/bsd.prefs.mk" .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" TOOL_DEPENDS+= yasm>=1.1:../../devel/yasm .endif -PLIST_VARS+= skia -.if ${MACHINE_ARCH} != "powerpc" -PLIST.skia= yes -.endif - CONFIGURE_DIRS= ${WRKDIR}/build CONFIGURE_SCRIPT= ${WRKSRC}/configure @@ -85,6 +91,7 @@ REPLACE_PYTHON+= xpcom/idl-parser/xpidl REPLACE_PYTHON+= xpcom/typelib/xpt/tools/xpt.py PYTHON_VERSIONS_ACCEPTED= 27 +PYTHON_FOR_BUILD_ONLY= tool TOOL_DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat NOT_PAX_MPROTECT_SAFE+= lib/${PKGNAME_NOREV}/arcticfox @@ -97,6 +104,9 @@ pre-configure: ${CP} ${FILESDIR}/cubeb_sun.c ${WRKSRC}/media/libcubeb/src post-install: + ${FIND} ${DESTDIR}${PREFIX} -name '*.a' -exec ${RM} '{}' ';' + ${RM} -rf ${DESTDIR}${PREFIX}/include + ${RM} -rf ${DESTDIR}${PREFIX}/share/idl ${INSTALL_DATA} ${WRKSRC}/browser/branding/arcticfox/default16.png \ ${DESTDIR}${PREFIX}/share/icons/hicolor/16x16/apps/arcticfox.png ${INSTALL_DATA} ${WRKSRC}/browser/branding/arcticfox/default32.png \ @@ -111,7 +121,7 @@ post-install: .include "options.mk" .include "../../archivers/bzip2/buildlink3.mk" .if ${OPSYS} == "Linux" -.include "../../audio/alsa-lib/buildlink3.mk" +. include "../../audio/alsa-lib/buildlink3.mk" .endif .include "../../devel/nspr/buildlink3.mk" .include "../../devel/nss/buildlink3.mk"