Commit 2fcdedf4 authored by Rene Ladan's avatar Rene Ladan
Browse files

lang/spidermonkey115: Remove expired port

2026-06-30 lang/spidermonkey115: EOL upstream except to support older Windows
parent d6284c65
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -5476,3 +5476,4 @@ textproc/redisearch20|textproc/redisearch22|2026-06-30|Has expired: Redisearch 2
japanese/man-doc||2026-06-30|Has expired: Abandoned, this manual is over 20 years old
devel/py-rauth||2026-06-30|Has expired: No longer maintained upstream
www/py-flask-collect||2026-06-30|Has expired: Project is discontinued
lang/spidermonkey115||2026-06-30|Has expired: EOL upstream except to support older Windows
+0 −1
Original line number Diff line number Diff line
@@ -361,7 +361,6 @@
    SUBDIR += smlnj
    SUBDIR += snobol4
    SUBDIR += solidity
    SUBDIR += spidermonkey115
    SUBDIR += spidermonkey128
    SUBDIR += spidermonkey140
    SUBDIR += squeak

lang/spidermonkey115/Makefile

deleted100644 → 0
+0 −83
Original line number Diff line number Diff line
PORTNAME=	spidermonkey
DISTVERSION=	115.36.0
PORTREVISION=	1
CATEGORIES=	lang
MASTER_SITES=	MOZILLA/firefox/releases/${DISTVERSION}esr/source \
		MOZILLA/firefox/candidates/${DISTVERSION}esr-candidates/build2/source
PKGNAMESUFFIX=	${SP_VER}
DISTNAME=	firefox-${DISTVERSION}esr.source

PATCH_SITES=	https://hg.mozilla.org/mozilla-central/raw-rev/
PATCHFILES+=	223087fdc29f18678f6174e9807b8780e439acf6:-p1 # https://bugzilla.mozilla.org/1894423
PATCHFILES+=	68ff4d3f7338248b4d67cf03aade5a73f8d396b2:-p1 # https://bugzilla.mozilla.org/1849070

MAINTAINER=	vishwin@FreeBSD.org
COMMENT=	Standalone JavaScript based from Mozilla 115-esr
WWW=		https://spidermonkey.dev/

LICENSE=	MPL20
LICENSE_FILE=	${WRKSRC}/LICENSE

DEPRECATED=	EOL upstream except to support older Windows
EXPIRATION_DATE=2026-06-30

BUILD_DEPENDS=	gm4:devel/m4 \
		${RUST_DEFAULT}>=1.81:lang/${RUST_DEFAULT} \
		rust-cbindgen>=0.26.0:devel/rust-cbindgen
LIB_DEPENDS=	libicudata.so:devel/icu \
		libnspr4.so:devel/nspr

USES=		compiler:c++17-lang gmake llvm:noexport localbase pathfix pkgconfig \
		python:build tar:xz
USE_LDCONFIG=	yes
SP_VER=		115
HAS_CONFIGURE=	yes

WRKSRC=			${WRKDIR}/firefox-${DISTVERSION}/
PATCH_WRKSRC=		${WRKDIR}/firefox-${DISTVERSION}/
CONFIGURE_OUTSOURCE=	yes

CONFIGURE_ARGS=	--enable-application=js \
		--disable-debug \
		--disable-debug-symbols \
		--disable-jemalloc \
		--disable-tests \
		--enable-optimize \
		--enable-readline \
		--enable-shared-js \
		--prefix=${PREFIX:Q} \
		--target=${CONFIGURE_TARGET} \
		--with-intl-api \
		--with-system-icu \
		--with-system-nspr \
		--with-system-zlib

CONFIGURE_ENV=	HOST_CC=${CC} \
		HOST_CXX=${CXX}

BINARY_ALIAS=	python3=${PYTHON_CMD}
PLIST_SUB=	SP_VER=${SP_VER}

.include <bsd.port.pre.mk>

.if ${ARCH} == amd64
CONFIGURE_TARGET=	x86_64-portbld-freebsd${OSREL}
.endif

.if ${CHOSEN_COMPILER_TYPE} == gcc
CONFIGURE_ENV+=	LLVM_CONFIG=${LLVM_CONFIG} \
		LLVM_OBJDUMP=llvm-objdump${LLVM_VERSION}
BUILD_DEPENDS+=	${LOCALBASE}/bin/llvm-objdump${LLVM_VERSION}:${LLVM_PORT}
USE_GCC=	yes
.endif

post-patch:
	@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/js/moz.configure
	@${REINPLACE_CMD} -e 's|icu-i18n|icu-uc icu-i18n|g' ${WRKSRC}/js/moz.configure

post-install:
	${RM} ${STAGEDIR}${PREFIX}/lib/libjs_static.ajs
	${LN} -fs libmozjs-${SP_VER}.so ${STAGEDIR}${PREFIX}/lib/libmozjs-${SP_VER}.so.1
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmozjs-${SP_VER}.*

.include <bsd.port.post.mk>

lang/spidermonkey115/distinfo

deleted100644 → 0
+0 −7
Original line number Diff line number Diff line
TIMESTAMP = 1780364615
SHA256 (firefox-115.36.0esr.source.tar.xz) = b71b573cec4da537a853ef6ad4cfadf1db03875cff6aaef180880b86ff90bf9a
SIZE (firefox-115.36.0esr.source.tar.xz) = 508961860
SHA256 (223087fdc29f18678f6174e9807b8780e439acf6) = f234371584e2b2bc9953ae4fd145da19c99a6f04087f53d59616aecf29df039c
SIZE (223087fdc29f18678f6174e9807b8780e439acf6) = 1597
SHA256 (68ff4d3f7338248b4d67cf03aade5a73f8d396b2) = 8d556dcb0d3a76a6cb8870b6eff45fafe0a78760ea24d34ea0b5e7ceb4489a71
SIZE (68ff4d3f7338248b4d67cf03aade5a73f8d396b2) = 2546
+0 −12
Original line number Diff line number Diff line
--- build/moz.configure/init.configure.orig	2022-03-30 19:25:29 UTC
+++ build/moz.configure/init.configure
@@ -729,6 +729,9 @@ def split_triplet(triplet, allow_msvc=False, allow_was
     elif cpu in ("x86_64", "ia64"):
         canonical_cpu = cpu
         endianness = "little"
+    elif cpu in ("amd64"):
+        canonical_cpu = "x86_64"
+        endianness = "little"
     elif cpu in ("s390", "s390x"):
         canonical_cpu = cpu
         endianness = "big"
Loading