Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jul 2005 15:27:07 -0700
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        Paul Schmehl <pauls@utdallas.edu>
Cc:        ports@freebsd.org
Subject:   Re: New port problems
Message-ID:  <20050715222707.GE337@odin.ac.hmc.edu>
In-Reply-To: <E792C03474FB520A8C0A3D66@utd59514.utdallas.edu>
References:  <E792C03474FB520A8C0A3D66@utd59514.utdallas.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jul 15, 2005 at 04:28:27PM -0500, Paul Schmehl wrote:
> I'm working on a new port.  This port needs to grab a tar.gz file, unzip it 
> and then copy two files to the right directories (one to /usr/local/bin, 
> the other to /usr/local/etc) and put the docs in the right dir.
> 
> So, I'm using NO_BUILD=        yes
> 
> But, when I try to install the port, I get the error "make: cannot open 
> Makefile.
> *** Error code 2".  Obviously, the port is still trying to compile from 
> source, even though I've used NO_BUILD.  Is there a trick I'm missing?  Is 
> there a specific order that NO_BUILD needs to appear in, in the Makefile?
> 
> Here's the entire Makefile, if that helps.  (The LIB_DEPENDS line is 
> commented out because, right now, the tclX port doesn't build, so I have to 
> test without it for now):
> 

Here's your problem:

> post-install:
>        ${INSTALL_SCRIPT} -m 751 ${WRKSRC}/client/sguil.tk 
...

you need to set do-install if you don't want the system attempt to
perform a "make install".

-- Brooks



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