mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Use the proper libdir for linking against python, since the symlink to
libpython.so in config/ will vanish soon PR: 192244 With hat: python@
This commit is contained in:
parent
4ef2593546
commit
be637c3a5e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=363713
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= pypersrc
|
||||
PORTVERSION= 20120106
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= http://www.jimbrooks.org/software/pypersrc/
|
||||
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
||||
|
11
devel/pypersrc/files/patch-tools_pythonconf.py
Normal file
11
devel/pypersrc/files/patch-tools_pythonconf.py
Normal file
@ -0,0 +1,11 @@
|
||||
--- ./tools/pythonconf.py.orig 2012-01-05 18:59:30.000000000 +0100
|
||||
+++ ./tools/pythonconf.py 2014-08-01 16:40:40.000000000 +0200
|
||||
@@ -47,7 +47,7 @@
|
||||
else:
|
||||
# GNU
|
||||
# ldlibflags: last char must stay a space
|
||||
- ldlibflags = "-L" + sys.prefix + "/lib/python" + str(pythonVersion) + "/config" + " -lpython" + str(pythonVersion) + " "
|
||||
+ ldlibflags = "-L" + sys.prefix + "/lib" + " -lpython" + str(pythonVersion) + " "
|
||||
if find( sys.platform, "bsd" ) != -1:
|
||||
ldlibflags += "-pthread "
|
||||
else:
|
Loading…
Reference in New Issue
Block a user