Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jul 2013 22:04:48 +0000 (UTC)
From:      Juergen Lock <nox@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r322294 - head/sysutils/ssync
Message-ID:  <201307042204.r64M4mqa062090@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nox
Date: Thu Jul  4 22:04:48 2013
New Revision: 322294
URL: http://svnweb.freebsd.org/changeset/ports/322294

Log:
  - Fix compiling without gcc. (remove hardcoded 'gcc')
  - Change to new-type headers.
  - Replace all dead MASTER_SITES and WWW with working ones.
  
  PR:		ports/179823
  Submitted by:	r4721@tormail.org
  Approved by:	samm@os2.kiev.ua (maintainer)

Modified:
  head/sysutils/ssync/Makefile
  head/sysutils/ssync/pkg-descr

Modified: head/sysutils/ssync/Makefile
==============================================================================
--- head/sysutils/ssync/Makefile	Thu Jul  4 21:56:34 2013	(r322293)
+++ head/sysutils/ssync/Makefile	Thu Jul  4 22:04:48 2013	(r322294)
@@ -1,16 +1,11 @@
-# New ports collection makefile for:	ssync
-# Date created:		23 March 2002
-# Whom:			Andrew Shevtsov <nyxo@dnuc.polyn.kiae.su>
-#
+# Created by: Andrew Shevtsov <nyxo@dnuc.polyn.kiae.su>
 # $FreeBSD$
-#
 
 PORTNAME=	ssync
 PORTVERSION=	2.3
 PORTREVISION=	2
 CATEGORIES=	sysutils
-MASTER_SITES=	http://mnmconsulting.org/ssync/ \
-		ftp://ftp.netsw.org/system/tools/fileutils/install/ssync/
+MASTER_SITES=	http://linuxfocus.org/~guido/
 
 MAINTAINER=	samm@os2.kiev.ua
 COMMENT=	A minimalistic tool for keeping filesystems in synchronization
@@ -26,7 +21,8 @@ post-patch:
 	@${REINPLACE_CMD} -e "s@/etc@${PREFIX}/etc@g;s@/usr/sbin@${PREFIX}/sbin@g;" \
 		${WRKSRC}/ssyncd.init ${WRKSRC}/ssyncd.conf ${WRKSRC}/daemon.c \
 		${WRKSRC}/ssync.man
-	@${REINPLACE_CMD} -e "s@FLAGS=@FLAGS+=@g" ${WRKSRC}/makefile
+	@${REINPLACE_CMD} -e "s@FLAGS=@FLAGS+=@g" -e "/CC=gcc/d" -e "/LD=gcc/d" \
+		-e 's@$$(LD)@$$(CC)@' ${WRKSRC}/makefile
 
 do-install:
 	@${INSTALL_PROGRAM} ${WRKSRC}/ssync ${PREFIX}/bin/ssync

Modified: head/sysutils/ssync/pkg-descr
==============================================================================
--- head/sysutils/ssync/pkg-descr	Thu Jul  4 21:56:34 2013	(r322293)
+++ head/sysutils/ssync/pkg-descr	Thu Jul  4 22:04:48 2013	(r322294)
@@ -4,4 +4,4 @@ low-resource comsumption and portability
 to control how things are synchronized and under what conditions, as well
 as useful dry-run and verbose modes.
 
-WWW: http://alcatraz.labs.agilent.com/shaffer/ssync/
+WWW: http://linuxfocus.org/~guido/endangered_software.html#ssync



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