From owner-svn-ports-head@freebsd.org Wed Apr 27 16:53:30 2016 Return-Path: Delivered-To: svn-ports-head@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 F0230B1E95D; Wed, 27 Apr 2016 16:53:30 +0000 (UTC) (envelope-from mat@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 B97321829; Wed, 27 Apr 2016 16:53:30 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u3RGrTVb035550; Wed, 27 Apr 2016 16:53:29 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u3RGrTwb035549; Wed, 27 Apr 2016 16:53:29 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201604271653.u3RGrTwb035549@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Wed, 27 Apr 2016 16:53:29 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r414119 - head/Mk/Uses 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.21 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: Wed, 27 Apr 2016 16:53:31 -0000 Author: mat Date: Wed Apr 27 16:53:29 2016 New Revision: 414119 URL: https://svnweb.freebsd.org/changeset/ports/414119 Log: Don't abuse an existing target and create our own. Sponsored by: Absolight Modified: head/Mk/Uses/gem.mk Modified: head/Mk/Uses/gem.mk ============================================================================== --- head/Mk/Uses/gem.mk Wed Apr 27 16:36:41 2016 (r414118) +++ head/Mk/Uses/gem.mk Wed Apr 27 16:53:29 2016 (r414119) @@ -123,8 +123,8 @@ do-install: .endif .if ${gem_ARGS} == "autoplist" -.if !target(post-install-script) -post-install-script: +_USES_install+= 820:gem-autoplist +gem-autoplist: @${ECHO} ${GEM_SPEC} >> ${TMPPLIST} .if !defined(NOPORTDOCS) @${FIND} -ds ${STAGEDIR}${PREFIX}/${DOC_DIR} -type f -print | ${SED} -E -e \ @@ -136,7 +136,6 @@ post-install-script: ${FIND} -ds ${STAGEDIR}${PREFIX}/${EXT_DIR} -type f -print | ${SED} -E -e \ 's,^${STAGEDIR}${PREFIX}/?,,' >> ${TMPPLIST} ; \ fi -.endif .else IGNORE= Incorrect 'USES+=gem:${gem_ARGS}' expecting 'USES+=gem[:autoplist]' .endif