File: Make_clean_fails_in_openbsd.mdwn

package info (click to toggle)
propellor 5.12-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 6,788 kB
  • sloc: haskell: 17,913; makefile: 58; perl: 38; sh: 28
file content (25 lines) | stat: -rw-r--r-- 530 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
openbsd requires specifying the path for the [`find`][0] command. So this:

    find -name \*.o
    find: unknown option -- n
    usage: find [-dHhLXx] [-f path] path ... [expression]


fails.

This works:


    find . -name \*.o
    ./dist/build/Utility/Applicative.o
    ./dist/build/Utility/PosixFiles.o
    ./dist/build/Utility/Split.o
    ...


as expected.

Here's a patch for it: [0001-Makefile-Update-clean.patch][1].

[0]: https://man.openbsd.org/find
[1]: https://ricketyspace.net/patch/0001-Makefile-Update-clean.patch