git: 60b638008946 - main - net/xmlrpc-c: Fix parallel build

From: Jochen Neumeister <joneum_at_FreeBSD.org>
Date: Wed, 09 Sep 2026 06:11:12 UTC
The branch main has been updated by joneum:

URL: https://cgit.FreeBSD.org/ports/commit/?id=60b638008946a5c6bd7cfe7a10ba93639a04e673

commit 60b638008946a5c6bd7cfe7a10ba93639a04e673
Author:     Jochen Neumeister <joneum@FreeBSD.org>
AuthorDate: 2026-09-09 06:10:53 +0000
Commit:     Jochen Neumeister <joneum@FreeBSD.org>
CommitDate: 2026-09-09 06:10:53 +0000

    net/xmlrpc-c: Fix parallel build
    
    The build races with itself: lib/openssl links libxmlrpc_openssl.so
    while
    lib/libutil is still linking libxmlrpc_util.so. With the symlink
    missing,
    the linker falls back to the static libxmlrpc_util.a, whose objects are
    not
    PIC:
    
      ld: error: relocation R_X86_64_PC32 cannot be used against symbol
      '__stack_chk_guard'; recompile with -fPIC
      >>> asprintf.o:(xmlrpc_asprintf) in archive
    .../lib/libutil/libxmlrpc_util.a
    
    Setting MAKE_JOBS_UNSAFE makes the build deterministic.
    
    PR:             298187
    Approved by:    garga (maintainer)
    Sponsored by:   Netzkommune GmbH
---
 net/xmlrpc-c/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/net/xmlrpc-c/Makefile b/net/xmlrpc-c/Makefile
index f7c8729ffd69..d07f86a1ab89 100644
--- a/net/xmlrpc-c/Makefile
+++ b/net/xmlrpc-c/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	xmlrpc-c
 PORTVERSION=	1.64.03
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	SF/${PORTNAME}/Xmlrpc-c%20Super%20Stable/${PORTVERSION}
 DISTNAME=	xmlrpc-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}
@@ -16,6 +17,7 @@ USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
 
 MAKEFILE=	GNUmakefile
+MAKE_JOBS_UNSAFE=	yes
 MAKE_ENV+=	INSTALL_SHLIB="${INSTALL_LIB}" \
 		INSTALL_SCRIPT="${INSTALL_SCRIPT}"
 CFLAGS+=	-I${OPENSSLINC}