From owner-svn-ports-all@FreeBSD.ORG Wed Jan 14 19:04:37 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 12A40B43; Wed, 14 Jan 2015 19:04:37 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D97C0C44; Wed, 14 Jan 2015 19:04:36 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t0EJ4apd053561; Wed, 14 Jan 2015 19:04:36 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t0EJ4a0J053560; Wed, 14 Jan 2015 19:04:36 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201501141904.t0EJ4a0J053560@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Wed, 14 Jan 2015 19:04:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r377039 - head/sysutils/clsync X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jan 2015 19:04:37 -0000 Author: amdmi3 Date: Wed Jan 14 19:04:35 2015 New Revision: 377039 URL: https://svnweb.freebsd.org/changeset/ports/377039 QAT: https://qat.redports.org/buildarchive/r377039/ Log: - Remove compiler flag unknown to clang to fix build on 10+ - Use INSTALL_PROGRAM to install binary, which fixes stripping - Remove slashes after ${STAGEDIR} PR: 195906 Submitted by: amdmi3 Approved by: maintainer timeout Modified: head/sysutils/clsync/Makefile Modified: head/sysutils/clsync/Makefile ============================================================================== --- head/sysutils/clsync/Makefile Wed Jan 14 19:04:35 2015 (r377038) +++ head/sysutils/clsync/Makefile Wed Jan 14 19:04:35 2015 (r377039) @@ -16,7 +16,7 @@ LIB_DEPENDS= libinotify.so:${PORTSDIR}/d libexecinfo.so:${PORTSDIR}/devel/libexecinfo GNU_CONFIGURE= yes -USES= autoreconf gmake libtool pkgconfig +USES= autoreconf compiler:features gmake libtool pkgconfig USE_GNOME= glib20 USE_RC_SUBR= clsync @@ -38,7 +38,7 @@ LIBCLSYNC_DESC= Build libclsync.so for c OPTIONS_DEFAULT=PARANOID -.include +.include .if ${PORT_OPTIONS:MVERYPARANOID} CONFIGURE_ARGS+= --enable-paranoid=2 @@ -62,10 +62,15 @@ CONFIGURE_ARGS+= --enable-debug CONFIGURE_ARGS+= --enable-libclsync .endif +.if ${COMPILER_TYPE} == clang +post-patch: + @${REINPLACE_CMD} -e 's|-fstack-check||' ${WRKSRC}/configure.ac +.endif + do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/clsync ${STAGEDIR}/${PREFIX}/sbin/clsync - ${INSTALL_DATA} ${WRKSRC}/man/man1/clsync.1 ${STAGEDIR}/${PREFIX}/man/man1/clsync.1 - ${MKDIR} ${STAGEDIR}/${ETCDIR} - ${INSTALL_DATA} ${WRKSRC}/freebsd/usr/local/etc/clsync/${PORTNAME}.conf ${STAGEDIR}/${ETCDIR}/${PORTNAME}.conf.sample + ${INSTALL_PROGRAM} ${WRKSRC}/clsync ${STAGEDIR}${PREFIX}/sbin/clsync + ${INSTALL_DATA} ${WRKSRC}/man/man1/clsync.1 ${STAGEDIR}${PREFIX}/man/man1/clsync.1 + ${MKDIR} ${STAGEDIR}${ETCDIR} + ${INSTALL_DATA} ${WRKSRC}/freebsd/usr/local/etc/clsync/${PORTNAME}.conf ${STAGEDIR}${ETCDIR}/${PORTNAME}.conf.sample -.include +.include