Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jun 2013 22:43:29 GMT
From:      "r4721@tormail.org" <r4721@tormail.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/179823: [patch] fix sysutils/ssync with clang-only world
Message-ID:  <201306212243.r5LMhT7J026750@oldred.freebsd.org>
Resent-Message-ID: <201306212250.r5LMo02I038603@freefall.freebsd.org>

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

>Number:         179823
>Category:       ports
>Synopsis:       [patch] fix sysutils/ssync with clang-only world
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 21 22:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     r4721@tormail.org
>Release:        
>Organization:
>Environment:
>Description:
* fix compiling without gcc (remove hardcoded 'gcc')
* change to new-type headers
* replace all dead MASTER_SITES and WWW with working ones
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: sysutils/ssync/Makefile
===================================================================
--- sysutils/ssync/Makefile	(revision 321412)
+++ sysutils/ssync/Makefile	(working copy)
@@ -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 @@
 	@${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
Index: sysutils/ssync/pkg-descr
===================================================================
--- sysutils/ssync/pkg-descr	(revision 321412)
+++ sysutils/ssync/pkg-descr	(working copy)
@@ -4,4 +4,4 @@
 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


>Release-Note:
>Audit-Trail:
>Unformatted:



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