From owner-svn-ports-all@FreeBSD.ORG Fri Oct 18 23:07:03 2013 Return-Path: Delivered-To: svn-ports-all@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 5B35DC4F; Fri, 18 Oct 2013 23:07:03 +0000 (UTC) (envelope-from bapt@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 48F1224EA; Fri, 18 Oct 2013 23:07:03 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r9IN73Gg078785; Fri, 18 Oct 2013 23:07:03 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r9IN73se078784; Fri, 18 Oct 2013 23:07:03 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201310182307.r9IN73se078784@svn.freebsd.org> From: Baptiste Daroussin Date: Fri, 18 Oct 2013 23:07:03 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r330786 - head/lang/picoc X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Oct 2013 23:07:03 -0000 Author: bapt Date: Fri Oct 18 23:07:02 2013 New Revision: 330786 URL: http://svnweb.freebsd.org/changeset/ports/330786 Log: Remove useless post-patch in favor of proper usage of gmake Modified: head/lang/picoc/Makefile Modified: head/lang/picoc/Makefile ============================================================================== --- head/lang/picoc/Makefile Fri Oct 18 23:03:41 2013 (r330785) +++ head/lang/picoc/Makefile Fri Oct 18 23:07:02 2013 (r330786) @@ -17,11 +17,8 @@ PLIST_FILES= bin/picoc WRKSRC= ${WRKDIR}/${PORTNAME} -post-patch: - @${REINPLACE_CMD} -e "/-include/d" \ - -e "s/^CFLAGS=.*/CFLAGS=${CFLAGS} -DUNIX_HOST/" \ - -e "s/gcc/${CC}/" \ - ${WRKSRC}/Makefile +MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" +CFLAGS+= -DUNIX_HOST do-install: ${INSTALL_PROGRAM} ${WRKSRC}/picoc ${STAGEDIR}${PREFIX}/bin/picoc