Mercurial > hgrepos > FreeBSD > ports > PyPy
annotate files/patch-lib__pypy___curses__build.py @ 3:0821ef77e993
MERGE: the "origin" branch with the existing ports files
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Wed, 28 Sep 2022 22:15:25 +0200 |
| parents | 5797a1bc38cb |
| children | dd6054092884 913b7ccce398 |
| rev | line source |
|---|---|
|
2
5797a1bc38cb
ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
1 --- lib_pypy/_curses_build.py.orig 2020-03-25 12:13:59 UTC |
|
5797a1bc38cb
ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
2 +++ lib_pypy/_curses_build.py |
|
5797a1bc38cb
ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
3 @@ -31,6 +31,8 @@ def find_curses_dir_and_name(): |
|
5797a1bc38cb
ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
4 return base, 'ncursesw' |
|
5797a1bc38cb
ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
5 if os.path.exists(os.path.join(base, 'include', 'ncurses')): |
|
5797a1bc38cb
ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
6 return base, 'ncurses' |
|
5797a1bc38cb
ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
7 + if os.path.exists(os.path.join(base, 'lib', 'libncursesw.so')): |
|
5797a1bc38cb
ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
8 + return base, 'ncursesw' |
|
5797a1bc38cb
ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
9 return '', None |
|
5797a1bc38cb
ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
10 |
|
5797a1bc38cb
ADD: the latest easily available port of lang/pypy
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
11 base, name = find_curses_dir_and_name() |
