From owner-svn-ports-head@FreeBSD.ORG Sat Oct 26 12:46:38 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 0C4641AF; Sat, 26 Oct 2013 12:46:38 +0000 (UTC) (envelope-from wg@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id EE6072BB4; Sat, 26 Oct 2013 12:46:37 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r9QCkbv7062407; Sat, 26 Oct 2013 12:46:37 GMT (envelope-from wg@svn.freebsd.org) Received: (from wg@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r9QCkbUe062406; Sat, 26 Oct 2013 12:46:37 GMT (envelope-from wg@svn.freebsd.org) Message-Id: <201310261246.r9QCkbUe062406@svn.freebsd.org> From: William Grzybowski Date: Sat, 26 Oct 2013 12:46:37 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r331682 - head/games/xdeblock 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: Sat, 26 Oct 2013 12:46:38 -0000 Author: wg Date: Sat Oct 26 12:46:37 2013 New Revision: 331682 URL: http://svnweb.freebsd.org/changeset/ports/331682 Log: games/xdeblock: fix build with clang - Fix build with clang - Allow staging [1] PR: ports/182797 Submitted by: KATO Tsuguru [1] Modified: head/games/xdeblock/Makefile Modified: head/games/xdeblock/Makefile ============================================================================== --- head/games/xdeblock/Makefile Sat Oct 26 12:45:50 2013 (r331681) +++ head/games/xdeblock/Makefile Sat Oct 26 12:46:37 2013 (r331682) @@ -16,15 +16,16 @@ WRKSRC= ${WRKDIR}/xdeblo_v1.0 USES= imake USE_XORG= xpm NO_INSTALL_MANPAGES= yes +CFLAGS+= -Wno-return-type -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/main.c do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/xdeblo ${PREFIX}/bin - @${MKDIR} ${PREFIX}/lib/X11/xdeblock/mapf - ${CHMOD} 777 ${PREFIX}/lib/X11/xdeblock/mapf - ${INSTALL_DATA} ${WRKSRC}/mapf/*.txt ${PREFIX}/lib/X11/xdeblock/mapf + (cd ${WRKSRC} && ${INSTALL_PROGRAM} xdeblo ${STAGEDIR}${PREFIX}/bin) + @${MKDIR} ${STAGEDIR}${PREFIX}/lib/X11/xdeblock/mapf + ${CHMOD} 777 ${STAGEDIR}${PREFIX}/lib/X11/xdeblock/mapf + (cd ${WRKSRC}/mapf && ${INSTALL_DATA} *.txt \ + ${STAGEDIR}${PREFIX}/lib/X11/xdeblock/mapf) .include