Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 May 2015 18:33:57 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r386468 - head/Mk
Message-ID:  <201505151833.t4FIXvwY005427@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jkim
Date: Fri May 15 18:33:57 2015
New Revision: 386468
URL: https://svnweb.freebsd.org/changeset/ports/386468

Log:
  Stop hardcoding "grep".
  
  Approved by:	portmgr (antoine)

Modified:
  head/Mk/bsd.openssl.mk

Modified: head/Mk/bsd.openssl.mk
==============================================================================
--- head/Mk/bsd.openssl.mk	Fri May 15 18:14:27 2015	(r386467)
+++ head/Mk/bsd.openssl.mk	Fri May 15 18:33:57 2015	(r386468)
@@ -98,7 +98,7 @@ OPENSSL_INSTALLED!=	${PKG_BIN} ${PKGARGS
 .endif
 .if defined(OPENSSL_INSTALLED) && ${OPENSSL_INSTALLED} != ""
 OPENSSL_PORT=		${OPENSSL_INSTALLED}
-OPENSSL_SHLIBFILE!=	${PKG_INFO} -ql ${OPENSSL_INSTALLED} | grep "^`${PKG_QUERY} "%p" ${OPENSSL_INSTALLED}`/lib/libcrypto.so.[0-9]*$$"
+OPENSSL_SHLIBFILE!=	${PKG_INFO} -ql ${OPENSSL_INSTALLED} | ${GREP} "^`${PKG_QUERY} "%p" ${OPENSSL_INSTALLED}`/lib/libcrypto.so.[0-9]*$$"
 OPENSSL_SHLIBVER?=	${OPENSSL_SHLIBFILE:E}
 .else
 # PKG_DBDIR was not found



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505151833.t4FIXvwY005427>