pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/nspr
Module Name: pkgsrc
Committed By: wiz
Date: Tue May 5 14:00:36 UTC 2026
Modified Files:
pkgsrc/devel/nspr: Makefile distinfo
Log Message:
nspr: update to 4.39.
Simplify; use existing nspr.pc file.
Changes:
- Improved error handling in PR_CreateThread on Windows
- Cleanup and Type-cast fixes for prtime
- Remove unused prstreams C++ wrapper from NSPR
- Memory poisoning and Arena redzone fixes
- Removed emacs/vim modelines and .cvsignore files
- Added .editorconfig
To generate a diff of this commit:
cvs rdiff -u -r1.128 -r1.129 pkgsrc/devel/nspr/Makefile
cvs rdiff -u -r1.75 -r1.76 pkgsrc/devel/nspr/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/nspr/Makefile
diff -u pkgsrc/devel/nspr/Makefile:1.128 pkgsrc/devel/nspr/Makefile:1.129
--- pkgsrc/devel/nspr/Makefile:1.128 Tue Nov 11 08:59:30 2025
+++ pkgsrc/devel/nspr/Makefile Tue May 5 14:00:36 2026
@@ -1,22 +1,14 @@
-# $NetBSD: Makefile,v 1.128 2025/11/11 08:59:30 wiz Exp $
+# $NetBSD: Makefile,v 1.129 2026/05/05 14:00:36 wiz Exp $
-DISTNAME= nspr-${NSPR_RELEASE:S/.0$//}
-NSPR_RELEASE= 4.38.2
+DISTNAME= nspr-4.39
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_MOZILLA_ALL:=nspr/releases/v${NSPR_RELEASE:S/.0$//}/src/}
+MASTER_SITES= ${MASTER_SITE_MOZILLA_ALL:=nspr/releases/v${PKGVERSION_NOREV}/src/}
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
HOMEPAGE= https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSPR
COMMENT= Platform-neutral API for system level and libc like functions
LICENSE= mpl-2.0
-CHECK_PORTABILITY_SKIP+= ${MOZILLA_DIR}security/nss/tests/libpkix/libpkix.sh
-CHECK_PORTABILITY_SKIP+= ${MOZILLA_DIR}security/nss/tests/multinit/multinit.sh
-CHECK_PORTABILITY_SKIP+= ${MOZILLA_DIR}js/src/configure
-CHECK_PORTABILITY_SKIP+= ${MOZILLA_DIR}configure
-
-OVERRIDE_DIRDEPTH= 3
-
GNU_CONFIGURE= yes
GNU_CONFIGURE_LIBSUBDIR= nspr
CONFIGURE_DIRS= nspr
@@ -64,6 +56,8 @@ SUBST_STAGE.nspr-rpath= pre-configure
SUBST_FILES.nspr-rpath= nspr/lib/libc/src/Makefile.in nspr/lib/ds/Makefile.in
SUBST_SED.nspr-rpath= -e 's|$$$$ORIGIN|${PREFIX}/lib/nspr|g'
+PKGCONFIG_OVERRIDE+= nspr/config/nspr.pc.in
+
.if ${OPSYS} == "OpenBSD"
CHECK_SHLIBS_SUPPORTED= no
.endif
@@ -83,45 +77,25 @@ SO_SUFFIX= so.1.0
.endif
PLIST_SUBST+= SO_SUFFIX=${SO_SUFFIX:Q}
-.if ${OPSYS} == "SunOS"
-. if defined(ABI) && ${ABI} == "64"
-CONFIGURE_ARGS+= --enable-64bit
-. endif
-.endif
-
-.if ${OPSYS} == "Linux"
+.if ${OPSYS} == "SunOS" || ${OPSYS} == "Linux" || ${OPSYS} == "Darwin"
. if defined(ABI) && ${ABI} == "64"
CONFIGURE_ARGS+= --enable-64bit
. endif
.endif
.if ${OPSYS} == "Darwin"
-. if defined(ABI) && ${ABI} == "64"
-CONFIGURE_ARGS+= --enable-64bit
-. endif
. if exists(/Developer/Headers/FlatCarbon)
BUILDLINK_PASSTHRU_DIRS+= Developer/Headers/FlatCarbon
. endif
.endif
+INSTALLATION_DIRS+= lib/pkgconfig
+
pre-configure:
cd ${WRKSRC}/nspr && autoconf
-post-build:
- set -e; ( \
- ${ECHO} "Name: NSPR"; \
- ${ECHO} "Description: The Netscape Portable Runtime"; \
- ${ECHO} "Version: ${NSPR_RELEASE}"; \
- ${ECHO} "Cflags: -I${PREFIX}/include/nspr"; \
- ${ECHO} "Libs: -L${PREFIX}/lib/nspr" \
- "${COMPILER_RPATH_FLAG}${PREFIX}/lib/nspr" \
- "-lplds4 -lplc4 -lnspr4 "${BUILDLINK_LIBS.pthread:Q}; \
- ) > ${WRKDIR}/nspr.pc
-
-INSTALLATION_DIRS+= lib/pkgconfig
-
post-install:
- ${INSTALL_DATA} ${WRKDIR}/nspr.pc ${DESTDIR}${PREFIX}/lib/pkgconfig
+ ${LN} -s ../nspr/pkgconfig/nspr.pc ${DESTDIR}${PREFIX}/lib/pkgconfig
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/nspr/distinfo
diff -u pkgsrc/devel/nspr/distinfo:1.75 pkgsrc/devel/nspr/distinfo:1.76
--- pkgsrc/devel/nspr/distinfo:1.75 Tue Nov 11 08:59:30 2025
+++ pkgsrc/devel/nspr/distinfo Tue May 5 14:00:36 2026
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.75 2025/11/11 08:59:30 wiz Exp $
+$NetBSD: distinfo,v 1.76 2026/05/05 14:00:36 wiz Exp $
-BLAKE2s (nspr-4.38.2.tar.gz) = 1f459f63e08e0b6d51db36ad7e91c5fde9c492af0491a7f6b489a2b928b51cc0
-SHA512 (nspr-4.38.2.tar.gz) = f17302b0973ab006f9e6af70199ac6bb40d6266f96ab4d6692f56c24979907a7f0a20cf9d926aa80084f2e0ce7dfd56de89a7547b5e7e8caafa7afa5eb0b7bd8
-Size (nspr-4.38.2.tar.gz) = 1025394 bytes
+BLAKE2s (nspr-4.39.tar.gz) = 8a12f678b99c6ccac44194b4ce50a0537dbcf276fc9a15dd0410080e5451ace4
+SHA512 (nspr-4.39.tar.gz) = 201627666814552e3c98f66a0bdb18194670dcbdbc8cf3241079d918891d46aef1b10e9339beb84802d1de4189993340febab27344e97f8de21ceb1f43c77bda
+Size (nspr-4.39.tar.gz) = 1014093 bytes
SHA1 (patch-ab) = 008f5b84994ad20e3b1a0de1e0f7a028932d03d2
SHA1 (patch-ac) = 6562282cc3d846a114f53ca53b9287fa64d69052
SHA1 (patch-ba) = 5fe843946d301405e6a4550d14553cf8506ad269
Home |
Main Index |
Thread Index |
Old Index