From owner-svn-ports-all@FreeBSD.ORG Mon May 27 13:20:35 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 86EB8463; Mon, 27 May 2013 13:20:35 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 79A5C197; Mon, 27 May 2013 13:20:35 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r4RDKZsb001283; Mon, 27 May 2013 13:20:35 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r4RDKZpo001282; Mon, 27 May 2013 13:20:35 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201305271320.r4RDKZpo001282@svn.freebsd.org> From: Baptiste Daroussin Date: Mon, 27 May 2013 13:20:35 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r319235 - head/security/zxid 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.14 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: Mon, 27 May 2013 13:20:35 -0000 Author: bapt Date: Mon May 27 13:20:35 2013 New Revision: 319235 URL: http://svnweb.freebsd.org/changeset/ports/319235 Log: Fix build with clang While here convert NOPORTDOCS -> PORT_OPTIONS:MDOCS Trim headers Modified: head/security/zxid/Makefile Modified: head/security/zxid/Makefile ============================================================================== --- head/security/zxid/Makefile Mon May 27 13:12:46 2013 (r319234) +++ head/security/zxid/Makefile Mon May 27 13:20:35 2013 (r319235) @@ -1,9 +1,5 @@ -# New ports collection makefile for: zxid -# Date created: 2007-07-06 -# Whom: Gea-Suan Lin -# +# Created by: Gea-Suan Lin # $FreeBSD$ -# PORTNAME= zxid PORTVERSION= 1.05 @@ -29,6 +25,11 @@ ZXID_BINS= smime zxcall zxcot zxdecode z zxidhlowsf zxidhrxmlwsc zxidhrxmlwsp zxididp zxidsimple \ zxidwsctool zxlogview zxpasswd +.include + +post-patch: + @${REINPLACE_CMD} -e 's/__inline//g' ${WRKSRC}/c/zx-attrs.c + post-install: ${MKDIR} ${PREFIX}/include/zxid/ cd ${WRKSRC}/ && ${INSTALL_PROGRAM} ${ZXID_BINS} ${PREFIX}/bin/ @@ -36,7 +37,7 @@ post-install: ${INSTALL_LIB} ${WRKSRC}/libzxid.so.0.0 ${PREFIX}/lib/libzxid.so.0 ${LN} -sf libzxid.so.0 ${PREFIX}/lib/libzxid.so cd ${WRKSRC}/ && ${INSTALL_DATA} *.h c/*.h ${PREFIX}/include/zxid/ -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR}/ cd ${WRKSRC}/ && ${INSTALL_DATA} *.pd ${DOCSDIR}/ .endif