Thanks for the reply, Dan.  For some reason adding NOSHARED=YES to the
Makefile didn't seem to work.  I wound up explicitly adding:

LDFLAGS+= -static

to the Makefile and that did it. This is strange because from the looks
of it the bsd.prog.mk file should have done this with NOSHARED=YES.

Oh, well, thanks anyway as your reply got me on the track.
Bob

On Tue, Nov 13, 2001 at 03:16:46PM -0600, Dan Nelson wrote:
> In the last episode (Nov 13), Bob Willcox said:
> > I need to build a statically-linked version of cvs so that I can run
> > it in a jail. I was hoping someone out there could describe the steps
> > necessary to build cvs static on 4.4-stable.
> 
> Add "NOSHARED=YES" to the top of /usr/src/gnu/usr.bin/cvs/Makefile ,
> make obj && make depend && make && make install.
> 
> -- 
>       Dan Nelson
>       [EMAIL PROTECTED]

-- 
Bob Willcox             Boucher's Observation:
[EMAIL PROTECTED]               He who blows his own horn always plays the music
Austin, TX                 several octaves higher than originally written.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to