ports/179823: [patch] fix sysutils/ssync with clang-only world
r4721 at tormail.org
r4721 at tormail.org
Fri Jun 21 22:50:00 UTC 2013
>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 at 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 at dnuc.polyn.kiae.su>
-#
+# Created by: Andrew Shevtsov <nyxo at 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 at os2.kiev.ua
COMMENT= A minimalistic tool for keeping filesystems in synchronization
@@ -26,7 +21,8 @@
@${REINPLACE_CMD} -e "s@/etc@${PREFIX}/etc at g;s@/usr/sbin@${PREFIX}/sbin at g;" \
${WRKSRC}/ssyncd.init ${WRKSRC}/ssyncd.conf ${WRKSRC}/daemon.c \
${WRKSRC}/ssync.man
- @${REINPLACE_CMD} -e "s at FLAGS=@FLAGS+=@g" ${WRKSRC}/makefile
+ @${REINPLACE_CMD} -e "s at 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:
More information about the freebsd-ports-bugs
mailing list