From owner-svn-ports-head@freebsd.org Tue Apr 17 13:31:00 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8EB51FA39A5; Tue, 17 Apr 2018 13:31:00 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 230806D039; Tue, 17 Apr 2018 13:31:00 +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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 175B852F3; Tue, 17 Apr 2018 13:31:00 +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 w3HDUxxq040919; Tue, 17 Apr 2018 13:30:59 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w3HDUx38040918; Tue, 17 Apr 2018 13:30:59 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201804171330.w3HDUx38040918@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Tue, 17 Apr 2018 13:30:59 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r467600 - head/graphics/graphviz X-SVN-Group: ports-head X-SVN-Commit-Author: amdmi3 X-SVN-Commit-Paths: head/graphics/graphviz X-SVN-Commit-Revision: 467600 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: Tue, 17 Apr 2018 13:31:00 -0000 Author: amdmi3 Date: Tue Apr 17 13:30:59 2018 New Revision: 467600 URL: https://svnweb.freebsd.org/changeset/ports/467600 Log: - Switch to USES=localbase - Always check OPSYS along with OSVERSION Approved by: portmgr blanket Modified: head/graphics/graphviz/Makefile Modified: head/graphics/graphviz/Makefile ============================================================================== --- head/graphics/graphviz/Makefile Tue Apr 17 11:28:50 2018 (r467599) +++ head/graphics/graphviz/Makefile Tue Apr 17 13:30:59 2018 (r467600) @@ -20,7 +20,8 @@ LIB_DEPENDS= libltdl.so:devel/libltdl \ libexpat.so:textproc/expat2 \ libgd.so:${GD_PORT} -USES= cpe pathfix shebangfix gmake bison groff pkgconfig libtool:keepla jpeg +USES= cpe pathfix shebangfix gmake bison groff pkgconfig \ + libtool:keepla localbase:ldflags jpeg GNU_CONFIGURE= yes # sincos is broken on armv6, see ports/220591 CFLAGS_armv6= -fno-builtin-sincos -fno-builtin-sin -fno-builtin-cos \ @@ -29,8 +30,6 @@ CFLAGS_armv6= -fno-builtin-sincos -fno-builtin-sin -fn CFLAGS_armv7= -fno-builtin-sincos -fno-builtin-sin -fno-builtin-cos \ -fno-builtin-sincosf -fno-builtin-sinf -fno-builtin-cosf \ -fno-builtin-sincosl -fno-builtin-sinl -fno-builtin-cosl -LDFLAGS+= -L${LOCALBASE}/lib -CPPFLAGS+= -I${LOCALBASE}/include PLIST_SUB= PORTVERSION="${PORTVERSION}" MAKE_ENV= EXPR_COMPAT=yes @@ -256,7 +255,7 @@ post-patch: ${REINPLACE_CMD} -e 's|GTS_LIBS)|GTS_LIBS) $$(MATH_LIBS)|' \ ${WRKSRC}/cmd/smyrna/Makefile.in ${CP} ${WRKSRC}/lib/cgraph/cgraph.h ${WRKSRC}/plugin/ming/ -.if ${OSVERSION} >= 1100093 +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100093 ${REINPLACE_CMD} -e 's|SF_FLAGS|SFIO_FLAGS|g' \ ${WRKSRC}/lib/sfio/*.[ch] .endif