Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Aug 2007 01:08:40 -0500
From:      "Scot Hetzel" <swhetzel@gmail.com>
To:        "Rakhesh Sasidharan" <rakhesh@rakhesh.com>
Cc:        RW <fbsd06@mlists.homeunix.com>, freebsd-ports@freebsd.org
Subject:   Re: Building Pine with PASSFILE option
Message-ID:  <790a9fff0708072308s22cb4b7boacc9a85ec4d8c3a2@mail.gmail.com>
In-Reply-To: <20070808082107.X37694@obelix.home.rakhesh.com>
References:  <20070807160649.Y22638@obelix.home.rakhesh.com> <790a9fff0708070656j77bc1f82l6c267df10e65cdfc@mail.gmail.com> <20070807160925.5fa458f0@gumby.homeunix.com.> <20070808082107.X37694@obelix.home.rakhesh.com>

next in thread | previous in thread | raw e-mail | index | archive | help
------=_Part_20077_23023728.1186553320631
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On 8/7/07, Rakhesh Sasidharan <rakhesh@rakhesh.com> wrote:
> RW wrote:
> >> But it will work from /etc/make.conf (using either "=" or "+="), as
> >> long as you don't select LDAP support.
> >
> > Have you actually tried this? A few years ago I couldn't get it, nor
> > several variations on it, to work. IIRC there were a lot of other people
> > who had problems with it on various mailing lists.
>
> I think you are right, it doesn't work. I modified the pine4 Makefile to
> pass the PASSFILE variable but Pine doesn't seem to be built with PASSFILE
> support.
>
As you found out setting the PASSFILE variable via the Makefile or
/etc/make.conf didn't work.

I was able to make it work with the hint from RW by modifying
pine/osdep/os-bsf.h, and then creating a new patch-ac file.

Attached is the patch for the ports Makefile, and files/patch-ac.  The
only thing missing is your change for the warning message when the
PASSFILE option is enabled.

Scot
-- 
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.

------=_Part_20077_23023728.1186553320631
Content-Type: text/x-diff; name="pine.patch"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="pine.patch"
X-Attachment-Id: file0

SW5kZXg6IE1ha2VmaWxlCj09PT09PT09PT09PT09PT09PT09PT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this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?790a9fff0708072308s22cb4b7boacc9a85ec4d8c3a2>