Opened 19 years ago
Closed 19 years ago
#4206 closed defect (fixed)
UPDATE: GiNaC, nestedsums, xloops, octave, cln
Reported by: | ben@… | Owned by: | gwright@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.0 |
Keywords: | Cc: | ||
Port: |
Description
I found I was unable to install these ports because they contain depends lines like:
depends_lib bin:g++-dp-4.0:gcc40
The ++ screws up the regex, so if g++-dp-4.0 isn't present, the install fails with something like:
DEBUG: Searching for dependency: gcc34 DEBUG: Didn't find receipt, going to depspec regex for: gcc34 Unable to execute port: couldn't compile regular expression pattern: quantifier operand invalid
They can be fixed by escaping the regexes with something like:
depends_lib {bin:g\+\+-dp-4.0:gcc40}
Attachments (1)
Change History (2)
Changed 19 years ago by ben@…
comment:1 Changed 19 years ago by gwright@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
Hi Ben,
I fixed the portfiles, but used the port:gcc40 (or port:gcc34) dependency specifier instead of escaping the regexp. Since we're searching for a DP installed compiler, the "port:" specifier is the way to go.
Thanks!
Bes Wishes, Greg
Portfile patches