[PATCH] net/skype does not ring by default

Jean-Baptiste Quenot jb.quenot at caraldi.com
Fri Mar 4 01:22:41 PST 2005


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/
-------------- next part --------------
--- 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} "##########################################################################"


More information about the freebsd-ports mailing list