mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
irc/eggdrop: Replace SED use with REINPLACE_CMD+patch
PR: 283584 Reported by: danfe@
This commit is contained in:
parent
222db315a1
commit
ad07ec0635
2 changed files with 11 additions and 2 deletions
|
@ -24,8 +24,7 @@ SUB_FILES= pkg-message
|
|||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
post-patch:
|
||||
@${SED} -i '' -e '25d' ${WRKSRC}/src/mod/python.mod/pycmds.c
|
||||
@${SED} -e 's#%%PREFIX%%#${PREFIX}#g' ${WRKSRC}/eggdrop.conf \
|
||||
@${REINPLACE_CMD} -e 's#%%PREFIX%%#${PREFIX}#g' ${WRKSRC}/eggdrop.conf \
|
||||
> ${WRKSRC}/eggdrop.conf.sample
|
||||
|
||||
post-configure:
|
||||
|
|
10
irc/eggdrop/files/patch-src_mod_python.mod_pycmds.c
Normal file
10
irc/eggdrop/files/patch-src_mod_python.mod_pycmds.c
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- src/mod/python.mod/pycmds.c.orig 2025-02-04 15:24:41 UTC
|
||||
+++ src/mod/python.mod/pycmds.c
|
||||
@@ -22,7 +22,6 @@
|
||||
#define PY_SSIZE_T_CLEAN
|
||||
#include <Python.h>
|
||||
#include <datetime.h>
|
||||
-#include <tcl.h>
|
||||
#include "src/mod/module.h"
|
||||
|
||||
typedef struct {
|
Loading…
Add table
Reference in a new issue