svn commit: r420377 - in head/sysutils/freefilesync: . files
Kevin Lo
kevlo at FreeBSD.org
Thu Aug 18 01:00:52 UTC 2016
Author: kevlo
Date: Thu Aug 18 01:00:51 2016
New Revision: 420377
URL: https://svnweb.freebsd.org/changeset/ports/420377
Log:
Fix BROKEN for < 10.3. While here drop maintainership.
PR: 211943
Submitted by: amdmi3
Deleted:
head/sysutils/freefilesync/files/patch-zen_file__access.cpp
Modified:
head/sysutils/freefilesync/Makefile
Modified: head/sysutils/freefilesync/Makefile
==============================================================================
--- head/sysutils/freefilesync/Makefile Thu Aug 18 00:41:25 2016 (r420376)
+++ head/sysutils/freefilesync/Makefile Thu Aug 18 01:00:51 2016 (r420377)
@@ -1,3 +1,4 @@
+# Created by: Kevin Lo <kevlo at FreeBSD.org>
# $FreeBSD$
PORTNAME= freefilesync
@@ -7,14 +8,12 @@ MASTER_SITES= http://www.freefilesync.or
http://www.freefilesync.org/archive/
DISTNAME= FreeFileSync_${PORTVERSION}_Source
-MAINTAINER= kevlo at FreeBSD.org
+MAINTAINER= ports at FreeBSD.org
COMMENT= Backup software to synchronize files and folders
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
-BROKEN_FreeBSD_9= does not build on FreeBSD < 10.x
-
BUILD_DEPENDS= ${LOCALBASE}/include/zenxml/xml.h:textproc/zenxml
LIB_DEPENDS= libboost_system.so:devel/boost-libs \
libnotify.so:devel/libnotify
@@ -29,6 +28,12 @@ USES= compiler:c++14-lang dos2unix gmak
USE_LDCONFIG= yes
USE_WX= 3.0+
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1003000
+BROKEN= does not build on FreeBSD < 10.3 (lack of futimens(2))
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's/wx-config/$${WX_CONFIG:T}/' \
-e 's,g++,$${CXX},' ${WRKSRC}/Makefile
@@ -38,4 +43,4 @@ post-patch:
@${REINPLACE_CMD} -e 's|CLOCK_MONOTONIC_RAW|CLOCK_MONOTONIC|' \
${WRKDIR}/zen/tick_count.h
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
More information about the svn-ports-head
mailing list