Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Oct 2013 21:32:05 +0100 (BST)
From:      Anton Shterenlikht <mexas@bris.ac.uk>
To:        bapt@FreeBSD.org, pschmehl_lists@tx.rr.com
Cc:        mexas@bris.ac.uk, freebsd-ports@freebsd.org
Subject:   Re: STAGE: explain man pages
Message-ID:  <201310092032.r99KW5dW015115@mech-cluster241.men.bris.ac.uk>
In-Reply-To: <20131009201145.GD95601@ithaqua.etoilebsd.net>

next in thread | previous in thread | raw e-mail | index | archive | help
>From baptiste.daroussin@gmail.com Wed Oct  9 21:14:50 2013
>
>On Wed, Oct 09, 2013 at 03:00:33PM -0500, Paul Schmehl wrote:
>> --On October 9, 2013 8:44:55 PM +0100 Anton Shterenlikht <mexas@bris.ac.u=
>k>=20
>> wrote:
>>=20
>> > I'm getting:
>> >
>> ># make stage
>> > =3D=3D=3D>  Staging for urlview-0.9_7
>> > =3D=3D=3D>   Generating temporary packing list
>> > /bin/sh ./mkinstalldirs
>> > /usr/ports/textproc/urlview/work/stage/usr/local/bin   install  -s -o
>> > root -g wheel -m 555  urlview
>> > /usr/ports/textproc/urlview/work/stage/usr/local/bin/urlview install  -o
>> > root -g wheel -m 444 urlview.man /usr/local/man/man1/urlview.1
>
>This is buggy ^^ you probably want to patch the upstream Makefile to respect
>DESTDIR as it does for all other files it installs.
>What you want is to change line 321 of Makefile.in to add $(DESTDIR) yes wi=
>th
>parenthesis before $(mandir) as they already do in install-binPROGRAMS
>
>And upstream will also want that patch as that makes their installation sys=
>tem
>consistent

ok, cool!

So now I get:

===>  Staging for urlview-0.9_7
===>   Generating temporary packing list
/bin/sh ./mkinstalldirs /usr/ports/textproc/urlview/work/stage/usr/local/bin
  install  -s -o root -g wheel -m 555  urlview /usr/ports/textproc/urlview/work/stage/usr/local/bin/urlview
install  -o root -g wheel -m 444 urlview.man /usr/ports/textproc/urlview/work/stage/usr/local/man/man1/urlview.1
install  -o root -g wheel -m 444 /usr/ports/textproc/urlview/work/urlview-0.9/sample.urlview  /usr/ports/textproc/urlview/work/stage/usr/local/etc/urlview.conf.sample
====> Compressing man pages
#

But then:

# make makeplist
bin/urlview
etc/urlview.conf.sample
man/man1/urlview.1.gz
# make check-orphans
man/man1/urlview.1.gz
# make package
===>  Building package for urlview-0.9_7
pkg-static: lstat(/usr/ports/textproc/urlview/work/stage/usr/local/urlview.1): No such file or directory
*** Error code 1

Stop.
make: stopped in /usr/ports/textproc/urlview
# 

What is wrong here?

Many thanks

Anton




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