Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Mar 1998 10:14:31 -0800 (PST)
From:      "Steven G. Kargl" <kargl@troutmask.apl.washington.edu>
To:        hoek@hwcn.org (Tim Vanderhoek)
Cc:        asami@FreeBSD.ORG, eivind@yes.no, freebsd-ports@FreeBSD.ORG
Subject:   Re: bsd.port.mk bug???
Message-ID:  <199803191814.KAA00779@troutmask.apl.washington.edu>

next in thread | raw e-mail | index | archive | help
According to Tim Vanderhoek:
> On Thu, 19 Mar 1998, Steven G. Kargl wrote:
> 
> > Add the TK_HEADER_CONFLICT variable!!!! The port will not have
> > a problem.
> 
> 3)  Anyone who uses the ports system will, at some time, probably
> sooner than later, have to remove those files.  (Hence it's a
> "proactive bug").
> 
> 4)  Nothing, absolutely nothing, can save the user from the fact
> that they will have to delete those files.  Get used to it.
> 
> 5)  This is one of those few problems where the correct solution
> is "ignore it and it will go away".  The files have to be
> deleted, and the longer they hang around, the more clunk is going
> to be accumulated around them.
> 
> 
> > You're right I've wasted too much time trying to improve the
> > system.  Can you at least change the message to something like
> > 
> > IGNORE= ": You have an old file \(${file}\) that could cause problems
> > for some ports to compile.  \(${file}\) can safely be removed."
> 
> I'd be happy to see an improvement to the message.  I'm a little
> leery of the comment "can be safely removed", but this is Asami's
> message.
> 

So, is it SAFE to remove these files.  Your points 3), 4), and 5)
suggest yes it is safe.  Then, you say you're leery about the
phrase "can be safely removed."

The problem, that everyone does not see except me, is files named tk.h
and tcl.h can be in /usr/local/include.  These files can have
absolutely nothing to do with the FreeBSD ports system.  Yes, their
presence can screw up the FreeBSD ports system (we all agree on this
point).  Telling a person to delete the files is proactive only
if the files came from a FreeBSD port of tk/tcl.



*** bsd.port.mk.orig	Thu Mar 19 09:46:22 1998
--- bsd.port.mk	Thu Mar 19 10:12:12 1998
***************
*** 769,780 ****
  .if !defined(NO_IGNORE)
  .for file in ${OLDSYSTCL} ${OLDTCL}
  .if exists(${file})
! IGNORE=	": You have an old file \(${file}\) that could cause problems for some ports to compile.  Please remove it and try again.  You may have to reinstall tcl from the ports tree afterwards"
  .endif
  .endfor
  .for file in ${OLDTK}
  .if exists(${file})
! IGNORE=	": You have an old file \(${file}\) that could cause problems for some ports to compile.  Please remove it and try again.  You may have to reinstall tk from the ports tree afterwards"
  .endif
  .endfor
  .endif
--- 769,780 ----
  .if !defined(NO_IGNORE)
  .for file in ${OLDSYSTCL} ${OLDTCL}
  .if exists(${file})
! IGNORE=	": \(${file}\) can cause problems during compilation of some ports.  If this file resulted from installation of FreeBSD or an obselete tcl port, then you should remove it.  You may have to reinstall tcl from the ports tree afterwards.  Otherwise, you need to temporarily rename \(${file}\) to continue"
  .endif
  .endfor
  .for file in ${OLDTK}
  .if exists(${file})
! IGNORE=	": \(${file}\) can cause problems during compilation of some ports.  If this file resulted from installation of FreeBSD or an obselete tk port, then you should remove it.  You may have to reinstall tk from the ports tree afterwards.  Otherwise, you need to temporarily rename \(${file}\) to continue"
  .endif
  .endfor
  .endif

-- 
Steve

finger kargl@troutmask.apl.washington.edu
http://troutmask.apl.washington.edu/~clesceri/kargl.html

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



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