Description: Alter a sed call
 Ubuntu 26.04 now adds string part containing ':' inside LIBR_LDFLAGS breaking the
 sed expression. One alternative is to use a different separator.
Author: Dirk Eddelbuettel <edd@debian.org>
Last-Update: 2026-04-25

--- r-base-4.6.0.orig/src/unix/Makefile.in
+++ r-base-4.6.0/src/unix/Makefile.in
@@ -89,7 +89,7 @@ install-pc:
 	  -e "s:@rincludedir:$(rincludedir):" \
 	  -e "s:@rarch:$(R_ARCH):" \
 	  -e 's:@libsprivate:$(STATIC_LIBR_PC):' \
-	  -e 's:@others:$(MAIN_LDFLAGS) $(LIBR_LDFLAGS):' \
+	  -e 's|@others|$(MAIN_LDFLAGS) $(LIBR_LDFLAGS)|' \
 	  -e 's/@VERSION/$(VERSION)/' $(srcdir)/libR.pc.in \
 	  > "$(DESTDIR)$(libdir)/pkgconfig/libR.pc"
 
