Date: Mon, 27 May 2013 13:20:35 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r319235 - head/security/zxid Message-ID: <201305271320.r4RDKZpo001282@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <gslin@gslin.org> -# +# Created by: Gea-Suan Lin <gslin@gslin.org> # $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 <bsd.port.options.mk> + +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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305271320.r4RDKZpo001282>