pkgsrc-Bugs archive

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

Re: pkg/55226 (pkgsrc/lang/perl5 is broken)



Synopsis: pkgsrc/lang/perl5 is broken

State-Changed-From-To: open->closed
State-Changed-By: rillig%NetBSD.org@localhost
State-Changed-When: Sat, 02 May 2020 05:58:59 +0000
State-Changed-Why:
Fixed in mk/subst.mk r1.92.

The proposed change of adding a few backslashes would not have worked.
It would have failed these tests:

~/proj/pkgsrc/regress/infra-unittests $ sh subst.sh
assertion failed in "identity substitution, found in file": file "out" has unexpected content:
--- expected
+++ out
@@ -1 +1,12 @@
 => Substituting "id" in file
+p: not found
+sed: option requires an argument -- e
+Usage:  sed [-aElnru] command [file ...]
+       sed [-aElnru] [-e command] [-f command_file] [-I[extension]]
+           [-i[extension]] [file ...]
+warning: [subst.mk:id] Nothing changed in "file".
+fail: [subst.mk:id] The filename pattern "file" has no effect.
+*** Error code 1
+
+Stop.
+bmake: stopped in /home/rillig/proj/pkgsrc/regress/infra-unittests

Thanks for the PR.





Home | Main Index | Thread Index | Old Index