- Fix case while /usr/ports is symlink to somewhere else.

PR:		ports/70800
Reported by:	Alex Varju <alex@varju.ca>
Submitted by:	Radim Kolar <hsn@netmag.cz> (maintainer)
This commit is contained in:
Pav Lucistnik 2004-08-21 20:47:34 +00:00
parent 7d185d4982
commit d0fb593311
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=116980
2 changed files with 15 additions and 0 deletions

View file

@ -7,6 +7,7 @@
PORTNAME= portindex
PORTVERSION= 18
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://people.tecnik93.com/~radim/distfiles/
DISTNAME= bsdportsutils-${PORTVERSION}

View file

@ -0,0 +1,14 @@
--- freebsdports.py.orig Wed Jul 28 14:03:59 2004
+++ freebsdports.py Sat Aug 21 22:45:41 2004
@@ -117,9 +117,9 @@
print 'Output of make describe has',len(spl),'fields.'
return False
if this.path!=spl[1]:
- print "Port path is",this.path,"but Makefile reports",spl[1]
+ print "Warning: port path is",this.path,"but Makefile reports",spl[1]
this.name=spl[0]
- this.path=spl[1]
+ #this.path=spl[1]
this.prefix=spl[2]
this.comment=sre.sub(r'\s{2,}',' ',spl[3].strip())
this.dfile=spl[4]