Re: Avoiding "make clean" when changing pkg-plist and other files?

2018-01-07 Thread Chris H

On Sun, 7 Jan 2018 19:02:35 -0700 "Kirk Coombs"  
said


Hello,

I’m working on building my very first port (for the server component from
https://www.urbackup.org/ ). Since this my first
attempt at porting, I have ended up iterating a lot on the pkg-plist, new
files in the ‘files’ directory, etc. as I try new things and explore the
options in the Porter’s Handbook. To test any of these changes, I find that
I need to do a ‘make clean’ from the port's directory in order for them
to be used on the next ‘make build’--which obviously deletes any
compiling work that had been done previously. Since this application takes a
few minutes to compile, that can be a bit annoying and slow down the
iterative debugging and learning process.

Is there an easy way to avoid having to do a full ‘make clean’ when you
change pkg-plist, etc.? Nothing is jumping out at me in the Porter’s
Handbook, 'man port', or my web searches.

I'm not exactly sure what commands you're currently using to accomplish
your intended goal(s).
But if it's just pkg-plist that you're working on; you might find:

make -DBATCH makeplist

helpful.

HTH

--Chris


Thanks!

Kirk



___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Avoiding "make clean" when changing pkg-plist and other files?

2018-01-07 Thread Kirk Coombs
That did it. Thanks!

Kirk

> On Jan 7, 2018, at 7:05 PM, Danilo Egêa Gondolfo  wrote:
> 
> make restage
> 
> On Mon, Jan 8, 2018 at 12:02 AM, Kirk Coombs  > wrote:
> Hello,
> 
> I’m working on building my very first port (for the server component from 
> https://www.urbackup.org/  
> >). Since this my first 
> attempt at porting, I have ended up iterating a lot on the pkg-plist, new 
> files in the ‘files’ directory, etc. as I try new things and explore the 
> options in the Porter’s Handbook. To test any of these changes, I find that I 
> need to do a ‘make clean’ from the port's directory in order for them to be 
> used on the next ‘make build’--which obviously deletes any compiling work 
> that had been done previously. Since this application takes a few minutes to 
> compile, that can be a bit annoying and slow down the iterative debugging and 
> learning process.
> 
> Is there an easy way to avoid having to do a full ‘make clean’ when you 
> change pkg-plist, etc.? Nothing is jumping out at me in the Porter’s 
> Handbook, 'man port', or my web searches.
> 
> Thanks!
> 
> Kirk
> ___
> freebsd-ports@freebsd.org  mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports 
> 
> To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org 
> "
> 

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Avoiding "make clean" when changing pkg-plist and other files?

2018-01-07 Thread Danilo Egêa Gondolfo
make restage

On Mon, Jan 8, 2018 at 12:02 AM, Kirk Coombs 
wrote:

> Hello,
>
> I’m working on building my very first port (for the server component from
> https://www.urbackup.org/ ). Since this my
> first attempt at porting, I have ended up iterating a lot on the pkg-plist,
> new files in the ‘files’ directory, etc. as I try new things and explore
> the options in the Porter’s Handbook. To test any of these changes, I find
> that I need to do a ‘make clean’ from the port's directory in order for
> them to be used on the next ‘make build’--which obviously deletes any
> compiling work that had been done previously. Since this application takes
> a few minutes to compile, that can be a bit annoying and slow down the
> iterative debugging and learning process.
>
> Is there an easy way to avoid having to do a full ‘make clean’ when you
> change pkg-plist, etc.? Nothing is jumping out at me in the Porter’s
> Handbook, 'man port', or my web searches.
>
> Thanks!
>
> Kirk
> ___
> freebsd-ports@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
>
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"