Subject: Re: Packagee/make problem details
To: Geoffrey Buhl <gwbuhl@cats.ucsc.edu>
From: None <mcmahill@mtl.mit.edu>
List: port-mac68k
Date: 07/06/1999 13:59:42
On Tue, 6 Jul 1999, Geoffrey Buhl wrote:

> 
> 	The directory (according to pwd) that I am doing this in is 
> /usr/pkgsrc/sysutils/hfsutils which does have a Makefile in it.  The 
> problem is not restticted to this directory, as I have tried to make 
> other packages as well with the same result.  I read a little bit about a 
> mk.conf file in the /etc directory.  I don't have one. Could this be 
> related?



I don't think a missing mk.conf causes that.  Do you have stuff in
/usr/pkgsrc/mk/  ?

There should be a handful of .mk files there.  

In particular, you should have something like:

dan@cowboy-burt 29 % ls -l /usr/pkgsrc/mk/
total 234
drwxr-xr-x  2 root  wheel    512 Jun 14 07:32 CVS
-rw-r--r--  1 root  wheel   3255 May 11 07:28 NetBSD.pkg.dist
-rw-r--r--  1 root  wheel   5005 Sep  4  1998 NetBSD.x11.dist
-rw-r--r--  1 root  wheel   3251 May 11 07:28 SunOS.pkg.dist
-rw-r--r--  1 root  wheel   5002 Mar  8 12:26 SunOS.x11.dist
-rw-r--r--  1 root  wheel  70869 Jun 14 07:32 bsd.pkg.mk
-rw-r--r--  1 root  wheel   4961 May 18 07:43 bsd.pkg.subdir.mk
-rw-r--r--  1 root  wheel   2116 May 27 07:42 bsd.prefs.mk
-rw-r--r--  1 root  wheel  19484 Jun  9 07:27 mk.conf.example

Depending on when you got the package files, your exact file sizes may
differ from mine, but they should be basically similar.

The reason I ask is /usr/pkgsrc/sysutils/hfsutils/Makefile should have a
line at the end:

.include "../../mk/bsd.pkg.mk"

and bsd.pkg.mk is where alot of important stuff happens.


-Dan


> 
> Thanks,
> Geoff
> 
> On Tue, 6 Jul 1999, Steve Revilak wrote:
> 
> > /	I'm fairly new to all this Unix stuff so please bear with me.  I 
> > /have instaled NetBSD on my SE/30.  I have untarred the pkgsrc file into 
> > /it's proper home.  I am trying to add packages to my system.  I 
> > /cd into the directory of a package I want to add.  I type make.  Make 
> > /returns "make: no target to make".  BTW I'm usint netBSD 1.3.3.  What's 
> > /going wrong?
> > 
> > Is there a file called "makefile" in the current directory?
> > 
> > 
> > 
>