[PATCH] for multimedia/linux-realplayer (extract with rpm2cpio.pl fails)
Jens Schweikhardt
schweikh at schweikhardt.net
Mon Dec 31 12:47:23 UTC 2007
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 at 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)
More information about the freebsd-ports-bugs
mailing list