From owner-svn-ports-all@freebsd.org Sat Nov 21 17:23:44 2015 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AD425A3409D; Sat, 21 Nov 2015 17:23:44 +0000 (UTC) (envelope-from dinoex@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 mx1.freebsd.org (Postfix) with ESMTPS id 75DF9111C; Sat, 21 Nov 2015 17:23:44 +0000 (UTC) (envelope-from dinoex@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tALHNh9W007718; Sat, 21 Nov 2015 17:23:43 GMT (envelope-from dinoex@FreeBSD.org) Received: (from dinoex@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tALHNhbi007717; Sat, 21 Nov 2015 17:23:43 GMT (envelope-from dinoex@FreeBSD.org) Message-Id: <201511211723.tALHNhbi007717@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dinoex set sender to dinoex@FreeBSD.org using -f From: Dirk Meyer Date: Sat, 21 Nov 2015 17:23:43 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r402168 - head/news/c-nocem 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.20 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: Sat, 21 Nov 2015 17:23:44 -0000 Author: dinoex Date: Sat Nov 21 17:23:43 2015 New Revision: 402168 URL: https://svnweb.freebsd.org/changeset/ports/402168 Log: - fix build with custom CNEWS_PORT Modified: head/news/c-nocem/Makefile Modified: head/news/c-nocem/Makefile ============================================================================== --- head/news/c-nocem/Makefile Sat Nov 21 17:20:24 2015 (r402167) +++ head/news/c-nocem/Makefile Sat Nov 21 17:23:43 2015 (r402168) @@ -24,12 +24,6 @@ WRKSRC= ${WRKDIR}/c-nocem PLIST_SUB+= NEWSBIN=${NEWSBIN:S=${PREFIX}/==} PLIST_FILES= %%NEWSBIN%%/fastcancel %%NEWSBIN%%/c-nocem -CNEWS_PORT?= news/cnews -#CNEWSWRK?= ${WRKDIRPREFIX}${PORTSDIR}/${CNEWS_PORT}/work -# ${.CURDIR}/../.. can be diffrent from ${PORTSDIR} -CNEWSWRK!= ${MAKE} -C ${.CURDIR}/../../${CNEWS_PORT} -V WRKSRC -NEWSBIN?= ${PREFIX}/libexec/cnews - post-patch: ${REINPLACE_CMD} -e 's|@newsbin@|${STAGEDIR}@newsbin@|' \ ${WRKSRC}/Makefile.in @@ -37,4 +31,12 @@ post-patch: pre-install: ${MKDIR} ${STAGEDIR}${NEWSBIN} -.include +.include + +# CNEWS_PORT can be set in Makefile.local +CNEWS_PORT?= news/cnews +# ${.CURDIR}/../.. can be diffrent from ${PORTSDIR} +CNEWSWRK!= ${MAKE} -C ${.CURDIR}/../../${CNEWS_PORT} -V WRKSRC +NEWSBIN?= ${PREFIX}/libexec/cnews + +.include