diff options
Diffstat (limited to 'x11-misc')
-rw-r--r-- | x11-misc/vnc2swf/files/vnc2swf-0.5.0-respect-AR.patch | 45 | ||||
-rw-r--r-- | x11-misc/vnc2swf/vnc2swf-0.5.0-r1.ebuild | 9 |
2 files changed, 54 insertions, 0 deletions
diff --git a/x11-misc/vnc2swf/files/vnc2swf-0.5.0-respect-AR.patch b/x11-misc/vnc2swf/files/vnc2swf-0.5.0-respect-AR.patch new file mode 100644 index 000000000000..4c03bb7e5c16 --- /dev/null +++ b/x11-misc/vnc2swf/files/vnc2swf-0.5.0-respect-AR.patch @@ -0,0 +1,45 @@ +--- a/configure.in ++++ b/configure.in +@@ -12,6 +12,9 @@ + AC_PROG_MAKE_SET + AC_LANG_CPLUSPLUS + ++AC_ARG_VAR([AR], [the archiver to use]) ++AC_CHECK_TOOL([AR], [ar]) ++ + case "`(uname -sr) 2>/dev/null`" in + "SunOS 5"*) + SOLARIS=yes +--- a/Makefile.in ++++ b/Makefile.in +@@ -95,7 +95,7 @@ + LIBS = @LIBS@ + LDFLAGS = @LDFLAGS@ + RANLIB = @RANLIB@ +-AR = ar cq ++AR = @AR@ cq + + prefix = /usr/X11R6 + exec_prefix = $(prefix) +--- a/rdr/Makefile.in ++++ b/rdr/Makefile.in +@@ -37,7 +37,7 @@ + LIBS = @LIBS@ + LDFLAGS = @LDFLAGS@ + RANLIB = @RANLIB@ +-AR = ar cq ++AR = @AR@ cq + + .SUFFIXES: + .SUFFIXES: .cxx .c .o +--- a/rfb/Makefile.in ++++ b/rfb/Makefile.in +@@ -36,7 +36,7 @@ + LIBS = @LIBS@ + LDFLAGS = @LDFLAGS@ + RANLIB = @RANLIB@ +-AR = ar cq ++AR = @AR@ cq + + .SUFFIXES: + .SUFFIXES: .cxx .c .o diff --git a/x11-misc/vnc2swf/vnc2swf-0.5.0-r1.ebuild b/x11-misc/vnc2swf/vnc2swf-0.5.0-r1.ebuild index 07b8cc0bbeb5..a589a99435ca 100644 --- a/x11-misc/vnc2swf/vnc2swf-0.5.0-r1.ebuild +++ b/x11-misc/vnc2swf/vnc2swf-0.5.0-r1.ebuild @@ -3,6 +3,8 @@ EAPI=7 +inherit autotools + DESCRIPTION="A tool for recording Flash SWF movies from VNC sessions" HOMEPAGE="https://www.unixuser.org/~euske/vnc2swf/" SRC_URI="https://www.unixuser.org/~euske/vnc2swf/${P}.tar.gz" @@ -23,10 +25,17 @@ RDEPEND=" DEPEND="${RDEPEND} x11-base/xorg-proto" +PATCHES=( + "${FILESDIR}"/${P}-respect-AR.patch # bug 726264 +) + src_prepare() { default sed -i -e "s:docs:html:" README || die sed -i -e "s:-mouse ::" -e "s:./vnc2swf:vnc2swf:" recordwin.sh || die + + mv configure.{in,ac} || die + eautoconf } src_install() { |