diff options
author | bapt <bapt@FreeBSD.org> | 2013-04-23 00:24:11 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-04-23 00:24:11 +0800 |
commit | 9ba38ebfeae2e3d6baf3c3d36e6d4e43be558436 (patch) | |
tree | eece2d4a53b30a7503506d0dee2b7f6c53cc8b06 /Mk | |
parent | b0b0df36edd2b389ca6e24e03e62dbc98e86f661 (diff) | |
download | freebsd-ports-graphics-9ba38ebfeae2e3d6baf3c3d36e6d4e43be558436.tar.gz freebsd-ports-graphics-9ba38ebfeae2e3d6baf3c3d36e6d4e43be558436.tar.zst freebsd-ports-graphics-9ba38ebfeae2e3d6baf3c3d36e6d4e43be558436.zip |
On all supported version of FreeBSD tar do support rpm as an archive format.
So directly use tar to extract linux* distfiles instead of rpm2cpio.
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.linux-rpm.mk | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/Mk/bsd.linux-rpm.mk b/Mk/bsd.linux-rpm.mk index f04584eb4c3..43d554e0fca 100644 --- a/Mk/bsd.linux-rpm.mk +++ b/Mk/bsd.linux-rpm.mk @@ -33,8 +33,6 @@ Linux_RPM_Include_MAINTAINER= emulation@FreeBSD.org Linux_RPM_Pre_Include= bsd.linux-rpm.mk -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm SRC_SUFX?= .src.rpm @@ -133,11 +131,9 @@ MASTER_SITE_SUBDIR+= ${MASTER_SITE_SRC_SUBDIR} ALWAYS_KEEP_DISTFILES= yes . endif -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet +EXTRACT_CMD?= ${TAR} +EXTRACT_BEFORE_ARGS?= -xf +EXTRACT_AFTER_ARGS?= DISTINFO_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} |