From owner-svn-ports-head@FreeBSD.ORG Fri Jun 14 14:34:17 2013 Return-Path: Delivered-To: svn-ports-head@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 289A34E7; Fri, 14 Jun 2013 14:34:17 +0000 (UTC) (envelope-from bdrewery@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 006E01281; Fri, 14 Jun 2013 14:34:17 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r5EEYGGZ050852; Fri, 14 Jun 2013 14:34:16 GMT (envelope-from bdrewery@svn.freebsd.org) Received: (from bdrewery@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r5EEYGK3050850; Fri, 14 Jun 2013 14:34:16 GMT (envelope-from bdrewery@svn.freebsd.org) Message-Id: <201306141434.r5EEYGK3050850@svn.freebsd.org> From: Bryan Drewery Date: Fri, 14 Jun 2013 14:34:16 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r320935 - in head/devel: valgrind valgrind-snapshot X-SVN-Group: ports-head 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.14 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, 14 Jun 2013 14:34:17 -0000 Author: bdrewery Date: Fri Jun 14 14:34:15 2013 New Revision: 320935 URL: http://svnweb.freebsd.org/changeset/ports/320935 Log: - Convert to new options helpers - Remove bsd.port.post.mk Modified: head/devel/valgrind-snapshot/Makefile head/devel/valgrind/Makefile Modified: head/devel/valgrind-snapshot/Makefile ============================================================================== --- head/devel/valgrind-snapshot/Makefile Fri Jun 14 14:31:22 2013 (r320934) +++ head/devel/valgrind-snapshot/Makefile Fri Jun 14 14:34:15 2013 (r320935) @@ -30,6 +30,9 @@ MAN1= callgrind_control.1 \ OPTIONS_DEFINE= MPI MPI_DESC= Enable build of MPI wrappers +MPI_LIB_DEPENDS= mpich:${PORTSDIR}/net/mpich2 + +OPTIONS_SUB= yes USE_BZIP2= yes USE_GMAKE= yes USES= pathfix pkgconfig @@ -43,15 +46,6 @@ WRKSRC= ${WRKDIR}/${DISTNAME} .include -.if ${PORT_OPTIONS:MMPI} -LIB_DEPENDS+= mpich:${PORTSDIR}/net/mpich2 -PLIST_SUB+= MPI="" -.else -PLIST_SUB+= MPI="@comment " -.endif - -.include - .if ${ARCH} == "amd64" PLIST_SUB+= AMD64="" ARCH=amd64 . if !exists(/usr/lib32/libc.so) @@ -70,4 +64,4 @@ post-patch: @${RM} -rf ${WRKSRC}/docs/html .endif -.include +.include Modified: head/devel/valgrind/Makefile ============================================================================== --- head/devel/valgrind/Makefile Fri Jun 14 14:31:22 2013 (r320934) +++ head/devel/valgrind/Makefile Fri Jun 14 14:34:15 2013 (r320935) @@ -28,6 +28,9 @@ MAN1= callgrind_control.1 \ OPTIONS_DEFINE= MPI MPI_DESC= Enable build of MPI wrappers +MPI_LIB_DEPENDS= mpich:${PORTSDIR}/net/mpich2 + +OPTIONS_SUB= yes USE_BZIP2= yes USE_GMAKE= yes USES= pathfix pkgconfig @@ -41,16 +44,7 @@ WRKSRC= ${WRKDIR}/${DISTNAME} .include -.if ${PORT_OPTIONS:MMPI} -LIB_DEPENDS+= mpich:${PORTSDIR}/net/mpich2 -PLIST_SUB+= MPI="" -.else -PLIST_SUB+= MPI="@comment " -.endif - -.include - -.if ${ARCH} == "amd64" +if ${ARCH} == "amd64" PLIST_SUB+= AMD64="" ARCH=amd64 . if !exists(/usr/lib32/libc.so) CONFIGURE_ARGS+= --enable-only64bit @@ -68,4 +62,4 @@ post-patch: @${RM} -rf ${WRKSRC}/docs/html .endif -.include +.include