Skip to content

Commit 60fcd1b

Browse files
committed
nss: better python-interp support
1 parent 49dfe63 commit 60fcd1b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

10.9-libcxx/stable/main/finkinfo/crypto/libnss3.0f-shlibs.info

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,14 @@ PatchScript: <<
2424
# fix install_name to have absolute path to libdir
2525
perl -pi -e 's,\@executable_path,%p/lib/nss3.0f,g' nss/coreconf/Darwin.mk nss/lib/freebl/config.mk nss/coreconf/config.gypi
2626
# match executable to python we know we have
27-
perl -pi -e "s,/usr/bin/env python3\$,%p/bin/python3.10,g" nss/coreconf/*.py
2827
perl -pi -e "s,(/usr/bin/env python)(2?)\$,%p/bin/python3.10," nss/coreconf/*.py
29-
perl -pi -e "s,(python)( |'),%p/bin/\${1}3.10\${2}," nss/build.sh nss/coreconf/config.gypi nss/lib/ckfw/builtins/builtins.gyp nss/lib/ckfw/builtins/testlib/builtins-testlib.gyp
3028
<<
3129
CompileScript: <<
3230
#!/bin/sh -ev
3331
export GYP=%p/bin/gyp-py310
3432
pushd nss
3533
./build.sh \
34+
--python=%p/bin/python3.10 \
3635
--with-nspr=%p/include/nspr:%p/lib/nspr.0f \
3736
--system-sqlite \
3837
-v

0 commit comments

Comments
 (0)