Mk/Uses/linux.mk: fix rpm extraction

with rpm 4.17, rpm2archive wants to have stdin input to be specified
explicitely as "-" and will not assume stdin input automatically if
no filename is given. This broke rpm extraction for many linux-c7-*
ports.
This commit is contained in:
Christoph Moench-Tegeder 2022-03-23 10:19:48 +01:00
parent b53231cc31
commit c77607965e

View file

@ -236,7 +236,7 @@ SRC_DISTFILES?= ${DISTNAME}${SRC_SUFX}:SOURCE
.ifdef USE_LINUX_RPM_BAD_PERMS .ifdef USE_LINUX_RPM_BAD_PERMS
EXTRACT_DEPENDS+= rpm2archive:archivers/rpm4 EXTRACT_DEPENDS+= rpm2archive:archivers/rpm4
EXTRACT_CMD= rpm2archive EXTRACT_CMD= rpm2archive
EXTRACT_BEFORE_ARGS= < EXTRACT_BEFORE_ARGS= - <
EXTRACT_AFTER_ARGS= | ${TAR} xf - --no-same-owner --no-same-permissions EXTRACT_AFTER_ARGS= | ${TAR} xf - --no-same-owner --no-same-permissions
.endif .endif