Subject: Re: pine 4.40 won't build
To: Audun Arnesen Nordal <audun@stud.cs.uit.no>
From: Alistair Crooks <agc@pkgsrc.org>
List: tech-pkg
Date: 11/13/2001 12:30:44
My apologies - the PREFIX  definitino was being passed down from
the package Makefile, to the build script, which passed it on to
the sub-make in the pine subdirectory, but the makefile.neb file
in the pine subdirectory had been modified to use LOCALBASE and
not PREFIX for the value of CCLIENTDIR. I have fixed it now in

----------------------------
revision 1.15
date: 2001/11/13 10:38:58;  author: agc;  state: Exp;  lines: +6 -8
Clean up after last update:

+ restore definitions of RM and LN in makefile.neb, as they're used
later on in the file.

+ if we're going to the bother of passing PREFIX to the invocation of
make, we might as well use PREFIX rather than LOCALBASE in the definition
of CCLIENTDIR.
----------------------------

and the corresponding update to the distinfo file to pick up the updated
patch-ac's digest. If you cvs update now you should be OK, depending
on the amount of time the changes take to propagate.

I'm sorry you're seeing so many weird things in pkgsrc, and I admit that
there's been a fair bit of upheaval just recently, but I've not seen
any weird things myself - can you give me a few more details, please?

Thanks,
Alistair

On Tue, Nov 13, 2001 at 10:15:27AM +0100, Audun Arnesen Nordal wrote:
> 
> I'm having problems building pine from a current pkgsrc. I'm seeing so 
> many weird things wrt pkgsrc these days that I thought I'd ask here before 
> send-pr'ing.
> 
> 
> $ uname -a
> NetBSD audun 1.5Y NetBSD 1.5Y (dell.current) #9: Sun Sep 16 15:44:41 CEST 
> 2001     root@audun:/usr/current/sys/arch/i386/compile/dell.current i386
> 
> 
> # cd /usr/pkgsrc/mail/pine; make
> ===> Validating dependencies for pine-4.40
> => Checksum OK for pine4.40.tar.gz.
> ===> Extracting for pine-4.40
> ===> Required installed package pico>=4.1: pico-4.1 found
> ===> Required installed package imap-uw>=2001.0: imap-uw-2001.0 found
> ===> Patching for pine-4.40
> # Make sure the imap lib that comes with pine isn't
> # used (see http://www.securityfocus.com/advisories/2646)
> /bin/rm -fr /usr/pkgsrc/mail/pine/work/pine4.40/imap
> ===> Applying NetBSD patches for pine-4.40
> ===> Configuring for pine-4.40
> /bin/cp -f /usr/pkgsrc/mail/pine/work/pine4.40/pine/osdep/os-neb.h 
> /usr/pkgsrc/mail/pine/work/pine4.40/pine/osdep/os-neb.h.orig
> /usr/bin/sed  -e 's@/usr/local/lib/@/usr/pkg/etc/@'  -e 
> 's@DEFAULT_DEBUG.*2@DEFAULT_DEBUG 0@'  
> </usr/pkgsrc/mail/pine/work/pine4.40/pine/osdep/os-neb.h.orig 
> >/usr/pkgsrc/mail/pine/work/pine4.40/pine/osdep/os-neb.h
> ===> Building for pine-4.40
> cd /usr/pkgsrc/mail/pine/work/pine4.40 && ./build neb   PREFIX=/usr/pkg  
> CC="cc -O2"
> make args are  'PREFIX=/usr/pkg' 'CC=cc -O2'
> 
> Making Pine.
> make PREFIX=/usr/pkg CC=cc -O2 -f makefile.neb
> rm -f os.h
> ln -s osdep/os-neb.h os.h
> ./cmplhlp2.sh  < pine.hlp > helptext.h
> make: don't know how to make /include/c-client/mail.h. Stop
> 
> make: stopped in /usr/pkgsrc/mail/pine/work/pine4.40/pine
> 
> Done
> 
> 
> Any help appreciated.
> 
> Best regards,
> 
> 
> -- 
> Audun Nordal