Bug 126508 - bsd.openssl.mk can't find +CONTENTS
Summary: bsd.openssl.mk can't find +CONTENTS
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Dirk Meyer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-13 18:50 UTC by don
Modified: 2008-08-27 08:36 UTC (History)
0 users

See Also:


Attachments
file.diff (850 bytes, patch)
2008-08-13 18:50 UTC, don
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description don 2008-08-13 18:50:01 UTC
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
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-08-13 18:50:10 UTC
Responsible Changed
From-To: freebsd-ports-bugs->dinoex

bsd.openssl.mk is dinoex territory (via the GNATS Auto Assign Tool)
Comment 2 dirk.meyer 2008-08-26 13:45:09 UTC
Please test this patch:

kind regards Dirk

- Dirk Meyer, Im Grund 4, 34317 Habichtswald, Germany
- [dirk.meyer@dinoex.sub.org],[dirk.meyer@guug.de],[dinoex@FreeBSD.org]
http://people.freebsd.org/~dinoex/errorlogs/


Index: bsd.openssl.mk
===================================================================
RCS file: /home/pcvs/ports/Mk/bsd.openssl.mk,v
retrieving revision 1.39
diff -u -r1.39 bsd.openssl.mk
--- bsd.openssl.mk	5 Aug 2008 09:33:07 -0000	1.39
+++ bsd.openssl.mk	26 Aug 2008 12:44:45 -0000
@@ -122,7 +122,7 @@
 # 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 "${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`; \
Comment 3 dfilter service freebsd_committer freebsd_triage 2008-08-27 07:19:47 UTC
dinoex      2008-08-27 06:19:39 UTC

  FreeBSD ports repository

  Modified files:
    Mk                   bsd.openssl.mk 
  Log:
  - fix symlinked pkgdb dir
  PR:             126508
  
  Revision  Changes    Path
  1.40      +2 -2      ports/Mk/bsd.openssl.mk
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 Dirk Meyer freebsd_committer freebsd_triage 2008-08-27 08:36:31 UTC
State Changed
From-To: open->closed

committed, thanks.