Date: Mon, 31 Dec 2007 13:18:05 +0100 From: Jens Schweikhardt <schweikh@schweikhardt.net> To: multimedia@FreeBSD.org Cc: ports-bugs@freebsd.org Subject: [PATCH] for multimedia/linux-realplayer (extract with rpm2cpio.pl fails) Message-ID: <20071231121804.GA1275@schweikhardt.net>
next in thread | raw e-mail | index | archive | help
hello, world\n I tried installing the latest mplayer with optional RealPlayer support. This failed during extraction phase where rpm2cpio.pl is used and not found; it appears this perl script has been replaced by a binary named rpm2cpio which should be used in the Makefile. This patch did the trick for me: Index: Makefile =================================================================== RCS file: /home/ncvs/ports/multimedia/linux-realplayer/Makefile,v retrieving revision 1.52 diff -u -r1.52 Makefile --- Makefile 24 Oct 2007 23:36:12 -0000 1.52 +++ Makefile 31 Dec 2007 12:06:17 -0000 @@ -18,7 +18,7 @@ MAINTAINER= multimedia@FreeBSD.org COMMENT= Linux RealPlayer 10 from RealNetworks -EXTRACT_DEPENDS= rpm2cpio.pl:${PORTSDIR}/archivers/rpm2cpio +EXTRACT_DEPENDS= rpm2cpio:${PORTSDIR}/archivers/rpm2cpio RUN_DEPENDS= ${LINUXBASE}/usr/lib/libgtk-x11-2.0.so.0:${PORTSDIR}/x11-toolkits/linux-gtk2 WRKSRC= ${WRKDIR}/usr/local/RealPlayer @@ -64,7 +64,7 @@ do-extract: @${MKDIR} ${WRKDIR} @set -x; for f in ${_DISTFILES}; do\ - cd ${WRKDIR}; rpm2cpio.pl ${DISTDIR}/$$f | \ + cd ${WRKDIR}; rpm2cpio ${DISTDIR}/$$f | \ ${CPIO} -idm --quiet; \ done Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071231121804.GA1275>