Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Nov 1998 18:45:33 -0800
From:      "Kurt D. Zeilenga" <Kurt@OpenLDAP.Org>
To:        freebsd-ports@FreeBSD.ORG
Subject:   compress manuals or not
Message-ID:  <3.0.5.32.19981111184533.00926710@localhost>

next in thread | raw e-mail | index | archive | help
I am working an autoconf build environment for OpenLDAP 1.1.
I am trying to sort out how to properly detect if the
system supports compress man pages, if so, which
compress mechanism should be used.  I also would like to
disable installation of compressed man based upon system
defaults.

My goal is that the OpenLDAP 1.1 distribution install
properly on FreeBSD whether the installer used my
distribution tarball or the ports/packages.  That is,
I'd like to eliminate the need for port/package
maintainer to have to patch our distribution. 

Has FreeBSD always supported compressed man pages?
If not, which was the first release with this support.

Has FreeBSD always supported GNU zip'ed man pages?
If not, which was the first release with this support.

Has FreeBSD always supported the $(NOMANCOMPRESS) variable
to disabling compressed manuals?
If not, which was the first release with this support.

I could, after determining the platform was FreeBSD, 
have configure create a makefile with
	all:;	echo x$(NOMANCOMPRESS)
to see if this variable is set.  If not, set the
compress program to gzip -c and the suffix to .gz.

Is there a better way to determine which compress
command/suffix to use under FreeBSD?

Is there a better way to determine which compress
command/suffix to use generally?

If anyone knows of a port (or other application) that
has multiple platform man compression detection in their
build environment, I'd appreciate a pointer.

Thanks, Kurt

PS: please cc me on followup as I am not currently subscribed
to this list.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.5.32.19981111184533.00926710>