From owner-svn-ports-head@freebsd.org Fri Dec 1 20:48:08 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 20C12E6A59B; Fri, 1 Dec 2017 20:48:08 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 DEC6770406; Fri, 1 Dec 2017 20:48:07 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vB1Km667048890; Fri, 1 Dec 2017 20:48:06 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vB1Km6xb048889; Fri, 1 Dec 2017 20:48:06 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201712012048.vB1Km6xb048889@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Fri, 1 Dec 2017 20:48:06 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r455307 - head/devel/mpatrol X-SVN-Group: ports-head X-SVN-Commit-Author: amdmi3 X-SVN-Commit-Paths: head/devel/mpatrol X-SVN-Commit-Revision: 455307 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Dec 2017 20:48:08 -0000 Author: amdmi3 Date: Fri Dec 1 20:48:06 2017 New Revision: 455307 URL: https://svnweb.freebsd.org/changeset/ports/455307 Log: - Pet portlint - Switch to options helpers - Simplify installation - Mark MAKE_JOBS_UNSAFE, fails sporadically in parallel build - Add missing gettext dependency Modified: head/devel/mpatrol/Makefile Modified: head/devel/mpatrol/Makefile ============================================================================== --- head/devel/mpatrol/Makefile Fri Dec 1 20:45:45 2017 (r455306) +++ head/devel/mpatrol/Makefile Fri Dec 1 20:48:06 2017 (r455307) @@ -11,19 +11,15 @@ DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Dynamic memory debugging and profiling library +ONLY_FOR_ARCHS= amd64 i386 + LIB_DEPENDS= libelf.so.0:devel/libelf WRKSRC= ${WRKDIR}/${PORTNAME}/build/unix -ONLY_FOR_ARCHS= i386 amd64 +USES= gettext gmake USE_LDCONFIG= yes -USES= gmake - -XMAN1= hexwords.1 mleak.1 mpatrol.1 mprof.1 \ - mpsym.1 mptrace.1 mpedit.1 -XMAN3= libmpatrol.3 libmpalloc.3 - DOCS= README mpatrol.dvi mpatrol.guide mpatrol.html mpatrol.info \ mpatrol.pdf mpatrol.ps mpatrol.texi mpatrol.txt refcard.dvi \ refcard.pdf refcard.ps refcard.tex source.tex \ @@ -35,6 +31,8 @@ DOCSIMG= cc1.eps cc1.jpg cc1.pdf \ mpatrol.eps mpatrol.jpg mpatrol.pdf mpatrol.txt \ test.eps test.jpg test.pdf \ trace.eps trace.jpg trace.pdf +MAKE_JOBS_UNSAFE= yes + OPTIONS_DEFINE= DOCS .include @@ -50,12 +48,8 @@ do-install: .for file in mpatrol mleak mptrace mprof ${INSTALL_PROGRAM} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/bin .endfor -.for file in ${XMAN1} - ${INSTALL_MAN} ${WRKSRC}/../../man/man1/${file} ${STAGEDIR}${PREFIX}/man/man1 -.endfor -.for file in ${XMAN3} - ${INSTALL_MAN} ${WRKSRC}/../../man/man3/${file} ${STAGEDIR}${PREFIX}/man/man3 -.endfor + ${INSTALL_MAN} ${WRKSRC}/../../man/man1/*.1 ${STAGEDIR}${PREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/../../man/man3/*.3 ${STAGEDIR}${PREFIX}/man/man3 .for lib in mpalloc mpatrol mpatrolmt ${INSTALL_DATA} ${WRKSRC}/lib${lib}.a ${STAGEDIR}${PREFIX}/lib ${INSTALL_PROGRAM} ${WRKSRC}/lib${lib}.so.1 ${STAGEDIR}${PREFIX}/lib @@ -65,8 +59,10 @@ do-install: .for file in mpatrol.h mpalloc.h mpdebug.h ${INSTALL_DATA} ${WRKSRC}/../../src/${file} ${STAGEDIR}${PREFIX}/include .endfor - ${MKDIR} ${STAGEDIR}${PREFIX}/include/mpatrol + @${MKDIR} ${STAGEDIR}${PREFIX}/include/mpatrol ${INSTALL_DATA} ${WRKSRC}/../../tools/*.h ${STAGEDIR}${PREFIX}/include/mpatrol + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in ${DOCS} ${INSTALL_DATA} ${WRKSRC}/../../doc/${file} ${STAGEDIR}${DOCSDIR}