Date: Wed, 13 Aug 2008 17:41:48 GMT From: IWATSUKI Hiroyuki <don@na.rim.or.jp> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/126508: bsd.openssl.mk can't find +CONTENTS Message-ID: <200808131741.m7DHfmka096485@www.freebsd.org> Resent-Message-ID: <200808131750.m7DHo1w4019628@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 126508 >Category: ports >Synopsis: bsd.openssl.mk can't find +CONTENTS >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Aug 13 17:50:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: IWATSUKI Hiroyuki >Release: FreeBSD 6.3-STABLE >Organization: >Environment: FreeBSD lemmy.moonrock.local 6.3-STABLE FreeBSD 6.3-STABLE #5: Thu Jul 17 12:36:49 JST 2008 root@lemmy.moonrock.local:/usr/obj/data/usr/src/sys/LEMMY i386 >Description: bsd.openssl.mk can't find +CONTENTS when /var/db/pkg is symlinked directory. >How-To-Repeat: root@lemmy:/usr/ports/lang/ruby18# make config grep: : No such file or directory grep: : No such file or directory "/usr/ports/Mk/bsd.openssl.mk", line 133: warning: "grep "^lib/libssl.so." """ returned non-zero status >Fix: Index: bsd.openssl.mk =================================================================== RCS file: /home/ncvs/ports/Mk/bsd.openssl.mk,v retrieving revision 1.39 diff -u -p -u -r1.39 bsd.openssl.mk --- bsd.openssl.mk 5 Aug 2008 09:33:07 -0000 1.39 +++ bsd.openssl.mk 13 Aug 2008 17:32:12 -0000 @@ -122,7 +122,7 @@ OPENSSL_SHLIBVER?= 3 # find installed port and use it for dependency PKG_DBDIR?= ${DESTDIR}/var/db/pkg .if !defined(OPENSSL_INSTALLED) -OPENSSL_INSTALLED!= find "${PKG_DBDIR}" -type f -name "+CONTENTS" -print0 | \ +OPENSSL_INSTALLED!= find -L "${PKG_DBDIR}" -type f -name "+CONTENTS" -print0 | \ xargs -0 grep -l "^lib/libssl.so." | \ while read contents; do \ sslprefix=`grep "^@cwd " "$${contents}" | ${HEAD} -n 1`; \ >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808131741.m7DHfmka096485>