From owner-svn-ports-head@freebsd.org Sat Jul 25 16:13:55 2015 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 B51C19AA556; Sat, 25 Jul 2015 16:13:55 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::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 A59F2A98; Sat, 25 Jul 2015 16:13:55 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.14.9/8.14.9) with ESMTP id t6PGDt4V016598; Sat, 25 Jul 2015 16:13:55 GMT (envelope-from hrs@FreeBSD.org) Received: (from hrs@localhost) by repo.freebsd.org (8.14.9/8.14.9/Submit) id t6PGDtPJ016597; Sat, 25 Jul 2015 16:13:55 GMT (envelope-from hrs@FreeBSD.org) Message-Id: <201507251613.t6PGDtPJ016597@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: hrs set sender to hrs@FreeBSD.org using -f From: Hiroki Sato Date: Sat, 25 Jul 2015 16:13:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r392891 - head/Mk 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.20 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, 25 Jul 2015 16:13:55 -0000 Author: hrs Date: Sat Jul 25 16:13:54 2015 New Revision: 392891 URL: https://svnweb.freebsd.org/changeset/ports/392891 Log: - Fix a bug which prevented both a package version number and arguments at the same time in USE_TEX from working. - Enforce to use a package version number for dependency on base and texmf. Modified: head/Mk/bsd.tex.mk Modified: head/Mk/bsd.tex.mk ============================================================================== --- head/Mk/bsd.tex.mk Sat Jul 25 16:01:14 2015 (r392890) +++ head/Mk/bsd.tex.mk Sat Jul 25 16:13:54 2015 (r392891) @@ -157,7 +157,16 @@ USE_TEX:= ${USE_TEX:tu:NFULL} ${_USE_TEX .for _UU in ${USE_TEX:tu} _U:= ${_UU} # ugly but necessary in for loop _VOP:= -. if !empty(_U:tu:MKPATHSEA) || !empty(_U:tu:MPTEXENC) || !empty(_U:tu:MTEXLUA) || !empty(_U:tu:MTEXLUAJIT) +. if !empty(_U:tu:C/[<>=][^\:]*//:C/\:.*$//:MTEXMF) && empty(_U:M*[<>=]*) +_U:= ${_U}>=20150523 +. endif +. if !empty(_U:tu:C/[<>=][^\:]*//:C/\:.*$//:MBASE) && empty(_U:M*[<>=]*) +_U:= ${_U}>=20150521 +. endif +. if !empty(_U:tu:C/[<>=][^\:]*//:C/\:.*$//:MKPATHSEA) || \ + !empty(_U:tu:C/[<>=][^\:]*//:C/\:.*$//:MPTEXENC) || \ + !empty(_U:tu:C/[<>=][^\:]*//:C/\:.*$//:MTEXLUA) || \ + !empty(_U:tu:C/[<>=][^\:]*//:C/\:.*$//:MTEXLUAJIT) _U:= ${_U}:lib . endif . if !empty(_U:M*[<>=]*) @@ -166,8 +175,9 @@ _VOP:= ${_U:C/^[^<>=]*//:C/\:.*$//} . if empty(_U:M*\:*) _C:= BUILD RUN . else -_C:= ${_U:C/.*://:S/,/ /g} +_C:= ${_U:C/.*://:S/,/ /g:C/[<>=][^\:]*//g} . endif +#. warning DEBUG: ${_U}: _VOP=${_VOP}, _C=${_C} . for _CC in ${_C:tu} _V:=${_UU:C/[<>=][^\:]*//:C/\:.*$//} . if defined(_USE_TEX_${_V}_PORT)