From owner-freebsd-questions@FreeBSD.ORG Sun Jul 6 01:12:08 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6E8B3C5A for ; Sun, 6 Jul 2014 01:12:08 +0000 (UTC) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 1CE2120E8 for ; Sun, 6 Jul 2014 01:12:07 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.9/8.14.9) with ESMTP id s661C5aO013630 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 5 Jul 2014 19:12:05 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.9/8.14.9/Submit) with ESMTP id s661C576013627; Sat, 5 Jul 2014 19:12:05 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sat, 5 Jul 2014 19:12:05 -0600 (MDT) From: Warren Block To: Carl Johnson Subject: Re: Images in freebsd-doc In-Reply-To: <87wqbrzc8p.fsf@elk.localnet> Message-ID: References: <87wqbrzc8p.fsf@elk.localnet> User-Agent: Alpine 2.11 (BSF 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Sat, 05 Jul 2014 19:12:05 -0600 (MDT) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jul 2014 01:12:08 -0000 On Sat, 5 Jul 2014, Carl Johnson wrote: > I usually prefer to use local documentation, so I have the > en-freebsd-doc package installed (the freebsd-doc-en port). My browser > doesn't show any images and it turns out that they have really screwy > paths to those images. For example, the image for figure 2.4 in section > 2.5.1 is (warning: *long* line) > 'file:///wrkdirs/usr/ports/misc/freebsd-doc-en/work/doc/share/images/books/handbook/bsdinstall/bsdinstall-keymap-select-default.png. > The actual path for the image is > file:///usr/local/share/doc/freebsd/en_US.ISO8859-1/books/handbook/bsdinstall/bsdinstall-keymap-select-default.png, > but the relative location is just > bsdinstall/bsdinstall-keymap-select-default.png. > > Is there a reason for using that kind of path for the image when the > installed path isn't remotely like that? Should I munge apache to > somehow get to that path, or should I file a PR to try to get something > reasonable? When I build that port, the image link points (correctly) to file:///usr/local/share/doc/freebsd/en_US.ISO8859-1/books/handbook/bsdinstall/bsdinstall-keymap-select-default.png What options are set for the port? I tried only HTML and HTML-SPLIT. Could you have an entry in /etc/make.conf that is interfering? Maybe NO_STAGE, or some non-default directory for building or installing?