From owner-freebsd-ports@FreeBSD.ORG Tue Apr 12 19:12:07 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7EDC016A4CE for ; Tue, 12 Apr 2005 19:12:07 +0000 (GMT) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 229D843D54 for ; Tue, 12 Apr 2005 19:12:07 +0000 (GMT) (envelope-from jon.drews@gmail.com) Received: by zproxy.gmail.com with SMTP id 34so1254986nzf for ; Tue, 12 Apr 2005 12:12:06 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=IyxKRjKiE9NISqanWK9TMBR2pJMpS8AY515r0LMp/SAuQV/fgpgVfcndXjnbet/VynWQj5t9PqPstY4f/Ns3NIkM0X5x8/9dqgZ3TwA1X8UT+UurVgP83xhbOQWIAII0JjpBF6U0CP15agjMnXUPcm+7IkQk6bgn/4YMrEK5wzc= Received: by 10.36.25.19 with SMTP id 19mr273603nzy; Tue, 12 Apr 2005 12:12:06 -0700 (PDT) Received: by 10.36.59.20 with HTTP; Tue, 12 Apr 2005 12:12:06 -0700 (PDT) Message-ID: <8cb27cbf0504121212161ad9ff@mail.gmail.com> Date: Tue, 12 Apr 2005 13:12:06 -0600 From: Jon Drews To: FreeBSD Ports Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Using MANCOMPRESSED= X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Jon Drews List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2005 19:12:07 -0000 Port GSL-1.6 5.3-STABLE FreeBSD 5.3-STABLE #0: Mon Jan 31 gcc version 3.4.2 [FreeBSD] 20040728 Hi: If I declare MANCOMPRESSED= yes or MANCOMPRESSED= maybe, in my Makefile, then when I do make package I get this: ===> Building package for gsl-1.6 Creating package /usr/ports/packages/All/gsl-1.6.tbz Registering depends:. Creating bzip'd tar ball in '/usr/ports/packages/All/gsl-1.6.tbz' tar: man/man1/gsl-config.1.gz: Could not stat: No such file or directory tar: man/man1/gsl-randist.1.gz: Could not stat: No such file or directory tar: man/man1/gsl-histogram.1.gz: Could not stat: No such file or directory tar: man/man3/gsl.3.gz: Could not stat: No such file or directory pkg_create: make_dist: tar command failed with code 256 *** Error code 1 However if I delete the MANCOMPRESSED= foo from the Makefile: MAN1= gsl-config.1 gsl-randist.1 gsl-histogram.1 MAN3= gsl.3 MANCOMPRESSED= maybe INFO= gsl-ref and then do make package everything is fine but I see: /usr/local/man/man1/gsl-histogram.1.gz It's gunzipped even though I did not specify it. I read the relevant part of the Porters Handbook: To specify whether the manpages are compressed upon installation, use the MANCOMPRESSED variable. This variable can take three values, yes, no and maybe. yes means manpages are already installed compressed, no means they are not, and maybe means the software already respects the value of NOMANCOMPRESS so bsd.port.mk does not have to do anything special. MANCOMPRESSED is automatically set to yes if USE_IMAKE is set and NO_INSTALL_MANPAGES is not set, and to no otherwise. You do not have to explicitly define it unless the default is not suitable for your port. Why does MANCOMPRESSED= maybe cause a problem ? What am I doing wrong here? Kind regards, Jon