Post-script: no need to path for python version
authorDavid Marec <DavidMarec@users.noreply.github.com>
Sun, 10 May 2020 16:01:14 +0000 (18:01 +0200)
committerDavid Marec <DavidMarec@users.noreply.github.com>
Sun, 10 May 2020 16:01:14 +0000 (18:01 +0200)
both entries are now defined

Makefile

index d9cb5480be7c4662794733afb70cc2587b6783b0..2fe6999b027798569a220a6c03227e360aaafd47 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -111,8 +111,11 @@ NLS_CMAKE_BOOL=            WITH_NLS
 NLS_USES=              gettext
 
 post-patch:
-# Third entry in the table of interpreters is basename of executable
-       @${REINPLACE_CMD} -e 's|python|${PYTHON_VERSION}|3' \
-               ${WRKSRC}/src/extension/implementation/script.cpp
+       @${REINPLACE_CMD} -e 's|web-set-att|web_set_att|g' \
+               ${WRKSRC}/po/*.po
+       @${REINPLACE_CMD} -e 's|web-transmit-att|web_transmit_att|g' \
+               ${WRKSRC}/po/*.po
+       @${TOUCH} ${WRKSRC}/share/extensions/gcodetools_check_for_updates.inx.h
+
 
 .include <bsd.port.mk>