Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Mar 2005 10:22:38 +0100
From:      Jean-Baptiste Quenot <jb.quenot@caraldi.com>
To:        netchild@FreeBSD.org
Cc:        freebsd-ports <ports@freebsd.org>
Subject:   [PATCH] net/skype does not ring by default
Message-ID:  <20050304092236.GA63857@vision.anyware>

next in thread | raw e-mail | index | archive | help

--FL5UXtIhxfXey3p5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hello,

Please  find attached  a  patch  that allows  skype  to ring  upon
a  received  call.   Skype  expects  data  under  hard-coded  path
/usr/share/skype  so this  patch  creates a  symlink  in the  base
system when WITH_SYMLINK_BASE is set.

Thanks in advance,
-- 
Jean-Baptiste Quenot
http://caraldi.com/jbq/

--FL5UXtIhxfXey3p5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch-Makefile

--- Makefile.orig	Fri Mar  4 10:15:16 2005
+++ Makefile	Fri Mar  4 10:17:25 2005
@@ -52,6 +52,11 @@
 	${INSTALL_DATA} ${WRKSRC}/lang/*.qm ${DATADIR}/lang/
 	${INSTALL_DATA} ${WRKSRC}/sound/*.wav ${DATADIR}/sound/
 	${INSTALL_DATA} ${WRKSRC}/LICENSE ${DATADIR}/
+.if defined(WITH_SYMLINK_BASE)
+	# skype expects data under hard-coded path /usr/share/skype so create a
+	# symlink in the base system if needed
+	${TEST} -h /usr/share/skype || ${LN} -s ${PREFIX}/share/skype /usr/share/skype
+.endif
 
 post-install:
 	@${ECHO} "##########################################################################"

--FL5UXtIhxfXey3p5--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050304092236.GA63857>