Subject: Re: PKG_OPTIONS_VAR not defined for mail/imap-uw???
To: Juan RP <juan@xtrarom.org>
From: Mark E. Perkins <perkinsm@bway.net>
List: tech-pkg
Date: 10/29/2005 10:01:22
On 10/29/05 09:45, Juan RP wrote:
> On Sat, 29 Oct 2005 09:40:46 -0400
> "Mark E. Perkins" <perkinsm@bway.net> wrote:
> 
> 
>>Attempting to build mail/imap-uw on MacOS X 10.3.9, I get:
>>
>>-> bmake
>>===> bsd.options.mk: PKG_OPTIONS_VAR is not defined.
>>*** Error code 1
>>
>>Stop.
>>bmake: stopped in /Volumes/NetBSD/pkgsrc/mail/imap-uw
>>-> bmake -V PKG_OPTIONS_VAR
>>
>>->
> 
> 
> It works for me. 
> 
> [juan@Nocturno][/usr/pkgsrc/mail/imap-uw]> make -V PKG_OPTIONS_VAR
> PKG_OPTIONS.imap-uw
> [juan@Nocturno][/usr/pkgsrc/mail/imap-uw]>
> 
> What do you have in mk.conf?

Nothing relevant that I can see (contents included below).... On what OS
does it work for you?

From the Makefile it looks to me that it should work OK for NetBSD, but
not for Darwin. And I have this Makefile:

	# $NetBSD: Makefile,v 1.102 2005/10/05 15:49:44 salo Exp $

Looking back now in CVS, it seems that some changes were made in v.1.101
that probably created this problem.

# /etc/mk.conf file
# Sun May  4 11:40:51 EDT 2003

.ifdef BSD_PKG_MK       # begin pkgsrc settings

#
#
PKG_DBDIR=/Volumes/NetBSD/pkgdb
LOCALBASE=/Volumes/NetBSD/pkg
#ZOULARISBASE=/Volumes/NetBSD/pkg
FETCH_CMD=/Volumes/NetBSD/pkg/bin/ftp
PAX=/Volumes/NetBSD/pkg/bin/pax

USE_INET6=NO
USE_KERBEROS="no"
X11_TYPE=xorg

PKG_ALTERNATIVES=NO

SU_CMD=/usr/bin/sudo /bin/sh -c
PAPERSIZE=Letter

.endif                  # end pkgsrc settings