Opened 19 years ago

Closed 19 years ago

#4314 closed defect (duplicate)

patch.args do not support being overwritten inside variants

Reported by: yeled@… Owned by: yeled@…
Priority: Normal Milestone:
Component: base Version: 1.0
Keywords: Cc:
Port:

Description

The original issue is thus:

I have many patches to a Portfile. Some of these need patch.args -p1, some need -p0.

If we add a patch.args to a variant {} it uses a patch.args-append logic. This doesn't work because patch(1) will use the first instance of the -p switch.

To fix this I would ask for patch.args to support a replacement of the overall Portfile patch.args switch. But this could be extended to be more sane.

What I am asking for is a -replace logic to arguments passed on. For all arguments. configure.args- replace for instance.

This would allow us to have a sane way of having more complexe Portfiles that could incase +stable and +devel variants within one "dport".

What do you think?

C.

Change History (1)

comment:1 Changed 19 years ago by yeled@…

Resolution: duplicate
Status: newclosed

* This bug has been marked as a duplicate of 4315 *

Note: See TracTickets for help on using tickets.