summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-im/profanity/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/net-im/profanity/Makefile b/net-im/profanity/Makefile
index ca59f0a14ece..fe1b9e260339 100644
--- a/net-im/profanity/Makefile
+++ b/net-im/profanity/Makefile
@@ -31,4 +31,10 @@ OPTIONS_DEFINE= NOTIFY
NOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify
NOTIFY_CONFIGURE_ENABLE=notifications
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+post-patch:
+ ${REINPLACE_CMD} "s,python-config,${PYTHON_VERSION}-config,g" \
+ ${WRKSRC}/configure.ac
+
+.include <bsd.port.post.mk>