pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kamailio: Depend on python and REPLACE #! strings



Module Name:	pkgsrc-wip
Committed By:	Greg Troxel <gdt%lexort.com@localhost>
Pushed By:	gdt
Date:		Sun Dec 1 13:55:00 2019 -0500
Changeset:	18e4540ed0c6128c8793b96cf6951994a54eed2c

Modified Files:
	kamailio/Makefile

Log Message:
kamailio: Depend on python and REPLACE #! strings

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=18e4540ed0c6128c8793b96cf6951994a54eed2c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 kamailio/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diffs:
diff --git a/kamailio/Makefile b/kamailio/Makefile
index b590d9309c..65097fc3c0 100644
--- a/kamailio/Makefile
+++ b/kamailio/Makefile
@@ -15,9 +15,14 @@ WRKSRC=		${WRKDIR}/kamailio-${VERSION}
 USE_LANGUAGES=	c c++
 USE_TOOLS+=	gmake
 
+# Upstream does not explain versions.  Prepare to disallow 27.
+#PYTHON_VERSIONS_INCOMPATIBLE=	27
+
 do-configure:
 	cd ${WRKSRC} && ${GMAKE} cfg include_modules="xmpp"
 
+REPLACE_PYTHON+=	utils/kamctl/dbtextdb/dbtextdb.py
+
 # Brute-force move the config files to the example directory, because
 # it's easier than teaching the kamailio build system the pkgsrc way
 # of config files.
@@ -32,6 +37,7 @@ CONF_FILES+=	share/examples/kamailio/kamctlrc ${PKG_SYSCONFDIR}/kamailio/kamctlr
 FAKE_NCURSES=	yes
 .include "../../mk/curses.buildlink3.mk"
 .include "../../mk/readline.buildlink3.mk"
+.include "../../lang/python/application.mk"
 .include "../../textproc/expat/buildlink3.mk"
 .include "../../security/openssl/buildlink3.mk"
 


Home | Main Index | Thread Index | Old Index