Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F163355018
D31489.id93478.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D31489.id93478.diff
View Options
Index: lang/python310/Makefile
===================================================================
--- lang/python310/Makefile
+++ lang/python310/Makefile
@@ -15,7 +15,7 @@
LIB_DEPENDS= libffi.so:devel/libffi
-USES= compiler:c11 cpe ncurses pathfix pkgconfig readline \
+USES= compiler:c11 cpe gmake ncurses pathfix pkgconfig readline \
shebangfix ssl tar:xz
PATHFIX_MAKEFILEIN= Makefile.pre.in
USE_LDCONFIG= yes
@@ -52,7 +52,7 @@
XYZDOT=${DISTVERSION:C/[a-z].*//} \
OSMAJOR=${OSVERSION:C/([0-9]*)[0-9]{5}/\1/} # For plat-freebsd* in pkg-plist. https://bugs.python.org/issue19554
-OPTIONS_DEFINE= DEBUG IPV6 LIBMPDEC NLS PYMALLOC
+OPTIONS_DEFINE= DEBUG DTRACE IPV6 LIBMPDEC NLS PYMALLOC
OPTIONS_DEFAULT= LIBMPDEC PYMALLOC
OPTIONS_RADIO= HASH
OPTIONS_RADIO_HASH= FNV SIPHASH
@@ -71,6 +71,7 @@
DEBUG_CONFIGURE_WITH= pydebug
DEBUG_BROKEN= incorrect pkg-plist
+DTRACE_CONFIGURE_ON= --with-dtrace
IPV6_CONFIGURE_ENABLE= ipv6
LIBMPDEC_CONFIGURE_ON= --with-system-libmpdec
Index: lang/python310/files/patch-configure
===================================================================
--- /dev/null
+++ lang/python310/files/patch-configure
@@ -0,0 +1,10 @@
+--- configure.orig 2021-08-10 08:48:39 UTC
++++ configure
+@@ -12691,7 +12691,6 @@ then :
+ else $as_nop
+ ac_cv_dtrace_link=no
+ echo 'BEGIN{}' > conftest.d
+- "$DTRACE" $DFLAGS -G -s conftest.d -o conftest.o > /dev/null 2>&1 && \
+ ac_cv_dtrace_link=yes
+
+ fi
Index: lang/python310/pkg-plist
===================================================================
--- lang/python310/pkg-plist
+++ lang/python310/pkg-plist
@@ -135,6 +135,7 @@
include/python%%XYDOT%%%%ABI%%/pycapsule.h
include/python%%XYDOT%%%%ABI%%/pyconfig.h
include/python%%XYDOT%%%%ABI%%/pydtrace.h
+%%DTRACE%%include/python%%XYDOT%%%%ABI%%/pydtrace_probes.h
include/python%%XYDOT%%%%ABI%%/pyerrors.h
include/python%%XYDOT%%%%ABI%%/pyexpat.h
include/python%%XYDOT%%%%ABI%%/pyframe.h
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jul 23, 11:04 AM (59 s ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35399841
Default Alt Text
D31489.id93478.diff (1 KB)
Attached To
Mode
D31489: lang/python310: Introduce DTRACE option
Attached
Detach File
Event Timeline
Log In to Comment