FreeBSD Bugzilla – Attachment 236656 Details for
Bug 266430
net-im/profanity: Use upstream release archive and some fixes to Makefile
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Additional patch to ease use of python embed
profanity-python.diff (text/plain), 1.71 KB, created by
Ashish SHUKLA
on 2022-09-18 06:42:44 UTC
(
hide
)
Description:
Additional patch to ease use of python embed
Filename:
MIME Type:
Creator:
Ashish SHUKLA
Created:
2022-09-18 06:42:44 UTC
Size:
1.71 KB
patch
obsolete
>diff --git a/net-im/profanity/Makefile b/net-im/profanity/Makefile >index f9c1ea3..34e895c 100644 >--- a/net-im/profanity/Makefile >+++ b/net-im/profanity/Makefile >@@ -41,6 +41,10 @@ OPTIONS_DEFINE= NOTIFY > NOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify > NOTIFY_CONFIGURE_ENABLE=notifications > >+post-patch: >+ ${REINPLACE_CMD} "s,python3-embed,python-${PYTHON_VER}-embed,g" \ >+ ${WRKSRC}/configure.ac >+ > post-install: > cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/man/man1 "-name *\.1" > >diff --git a/net-im/profanity/files/patch-configure.ac b/net-im/profanity/files/patch-configure.ac >index fc5a6b1..8081e0a 100644 >--- a/net-im/profanity/files/patch-configure.ac >+++ b/net-im/profanity/files/patch-configure.ac >@@ -1,14 +1,5 @@ > --- configure.ac.orig 2022-09-13 09:50:49 UTC > +++ configure.ac >-@@ -104,7 +104,7 @@ elif test "x$enable_python_plugins" != xno; then >- rm -f Python.framework >- ln -s $PYTHON_FRAMEWORK Python.framework ]) >- PKG_CHECK_MODULES([python], [python-embed], [PYTHON_CONFIG_EXISTS=yes], [PYTHON_CONFIG_EXISTS=no]) >-- PKG_CHECK_MODULES([python], [python3-embed], [PYTHON3_CONFIG_EXISTS=yes; AC_DEFINE(PY_IS_PYTHON3, [1], [Is Python version 3])], [PYTHON3_CONFIG_EXISTS=no]) >-+ PKG_CHECK_MODULES([python], [python-3.9-embed], [PYTHON3_CONFIG_EXISTS=yes; AC_DEFINE(PY_IS_PYTHON3, [1], [Is Python version 3])], [PYTHON3_CONFIG_EXISTS=no]) >- if test "$PYTHON_CONFIG_EXISTS" = "yes" || test "$PYTHON3_CONFIG_EXISTS" = "yes"; then >- AM_CONDITIONAL([BUILD_PYTHON_API], [true]) >- AC_DEFINE([HAVE_PYTHON], [1], [Python support]) > @@ -272,11 +272,11 @@ AS_IF([test "x$PLATFORM" = xosx], > [AC_MSG_NOTICE([libnotify support will be disabled])])])])]) >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
ashish
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 266430
:
236579
| 236656