mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-27 10:03:20 +00:00
Tell ports that USE_PYDISTUTILS to link shared objects
with the same compiler used to build them. While here, fix a typo. PR: 154742 Approved by: miwi
This commit is contained in:
parent
ba8277a1f6
commit
d163b8c30c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=270325
@ -516,7 +516,7 @@ PLIST_FILES+= ${PYDISTUTILS_EGGINFODIR:S;${PREFIX}/;;}/${egg}
|
||||
. endfor
|
||||
.endif
|
||||
|
||||
# Fix for programs that build python from a GNU auto* enviornment
|
||||
# Fix for programs that build python from a GNU auto* environment
|
||||
CONFIGURE_ENV+= PYTHON="${PYTHON_CMD}"
|
||||
|
||||
# Zope-related variables
|
||||
@ -678,6 +678,9 @@ PYDISTUTILS_BUILD_TARGET?= build
|
||||
PYDISTUTILS_INSTALL_TARGET?= install
|
||||
|
||||
.if defined(USE_PYDISTUTILS)
|
||||
LDSHARED?= ${CC} -shared
|
||||
MAKE_ENV+= LDSHARED="${LDSHARED}"
|
||||
|
||||
.if !target(do-configure) && !defined(HAS_CONFIGURE) && !defined(GNU_CONFIGURE)
|
||||
do-configure:
|
||||
@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYSETUP} ${PYDISTUTILS_CONFIGURE_TARGET} ${PYDISTUTILS_CONFIGUREARGS})
|
||||
|
Loading…
Reference in New Issue
Block a user