From owner-svn-ports-head@FreeBSD.ORG Fri Jun 14 12:49:57 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 357AEC56; Fri, 14 Jun 2013 12:49:57 +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 289111D3B; Fri, 14 Jun 2013 12:49:57 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r5ECnv8S015372; Fri, 14 Jun 2013 12:49:57 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r5ECnvDw015371; Fri, 14 Jun 2013 12:49:57 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201306141249.r5ECnvDw015371@svn.freebsd.org> From: Baptiste Daroussin Date: Fri, 14 Jun 2013 12:49:57 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r320907 - head/x11/xgrab 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 12:49:57 -0000 Author: bapt Date: Fri Jun 14 12:49:56 2013 New Revision: 320907 URL: http://svnweb.freebsd.org/changeset/ports/320907 Log: Use the new USES=display:build While here fix build with recent clang Modified: head/x11/xgrab/Makefile Modified: head/x11/xgrab/Makefile ============================================================================== --- head/x11/xgrab/Makefile Fri Jun 14 12:47:19 2013 (r320906) +++ head/x11/xgrab/Makefile Fri Jun 14 12:49:56 2013 (r320907) @@ -15,9 +15,9 @@ COMMENT= X11 image grabber BUILD_DEPENDS= xrdb:${PORTSDIR}/x11/xrdb +USES= display:build USE_XORG= x11 USE_IMAKE= yes -USE_DISPLAY= yes MAKE_FLAGS= BINDIR=${PREFIX}/bin MANDIR=${PREFIX}/man/man1 \ XAPPLOADDIR=${PREFIX}/lib/X11/app-defaults -f @@ -25,10 +25,9 @@ MAKE_FLAGS= BINDIR=${PREFIX}/bin MANDIR= XMKMF= xmkmf CFLAGS+= -Wno-error=return-type -.if (!defined(DISPLAY) || ${DISPLAY} == "") && !defined(PACKAGE_BUILDING) -IGNORE= Requires an active X session (and DISPLAY variable) to run xrdb. Please compile this while running X. -.endif - MAN1= xgrab.1 xgrabsc.1 +post-patch: + @${REINPLACE_CMD} 's,\*envp,\*\*envp,g' ${WRKSRC}/xgrabxaw.c + .include