pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: is there a way???



From: Tobias Nygren <tnn%NetBSD.org@localhost>, Date: Thu, 12 Mar 2015 20:14:49 +0100

> On Tue, 10 Mar 2015 23:47:18 -0300
> sergio de Almeida Lenzi <lenzi.sergio%gmail.com@localhost> wrote:
> 
>> Supose that I am working on a LARGE package, libreoffice for example
>> that takes several hours to compile...
>> 
>> Than I want to change some logic in the install phase., so I do:
>> make
>> make stage-install
>> 
>> Ok the package is in the work/.destdir. 
>> Now I change some files in the Makefile target (editing the
>> post-install, for example)
>> than I must re-create the files in  work/.destdir, the work/PLIST*,
>> work/.packages work/.pkgdb
>> 
>> Is there a way to recreate these files/directories without rebuild the
>> package? (make clean...)
>> 
>> If I remove work/.destdir work/.install_done work/.PLIST*
>> and than... make stage-install it rebuilds those directories but DO NOT
>> create work/.packages and work/.pkgdb
>> 
>> Is there a solution ???
> 
> remove the following files and directories in ${WRKDIR}:
> .PLIST*
> .prefix.p*
> .install_done
> .package_done
> .destdir

Will install-clean or build-clean target of make help you?
I use install-clean target heavily to fix PLIST.

--
Ryo ONODERA // ryo_on%yk.rim.or.jp@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3


Home | Main Index | Thread Index | Old Index