diff options
author | nia <nia@pkgsrc.org> | 2019-09-21 14:57:46 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2019-09-21 14:57:46 +0000 |
commit | 2caa08019e0abca91ad13b5527dccf744d68a7d8 (patch) | |
tree | 717ad09bd7954d93e6d7a98b81d018fce74f9248 /chat/weechat | |
parent | 818f0437e978fffc843e3b1c498ad55a7b5cf3a8 (diff) | |
download | pkgsrc-2caa08019e0abca91ad13b5527dccf744d68a7d8.tar.gz |
weechat: Fix loading the Python plugin after the build system change.
Bump PKGREVISION.
Diffstat (limited to 'chat/weechat')
-rw-r--r-- | chat/weechat/Makefile | 3 | ||||
-rw-r--r-- | chat/weechat/options.mk | 10 |
2 files changed, 10 insertions, 3 deletions
diff --git a/chat/weechat/Makefile b/chat/weechat/Makefile index ac6ac0cbc87..2e99065eccb 100644 --- a/chat/weechat/Makefile +++ b/chat/weechat/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.105 2019/09/21 10:09:25 nia Exp $ +# $NetBSD: Makefile,v 1.106 2019/09/21 14:57:46 nia Exp $ DISTNAME= weechat-2.6 +PKGREVISION= 1 CATEGORIES= chat MASTER_SITES= https://www.weechat.org/files/src/ EXTRACT_SUFX= .tar.xz diff --git a/chat/weechat/options.mk b/chat/weechat/options.mk index 91b9524b5ce..ab775dbd78f 100644 --- a/chat/weechat/options.mk +++ b/chat/weechat/options.mk @@ -1,11 +1,12 @@ -# $NetBSD: options.mk,v 1.19 2019/09/17 11:30:27 nia Exp $ +# $NetBSD: options.mk,v 1.20 2019/09/21 14:57:46 nia Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.weechat +# mk/curses will handle wide-curses PKG_SUPPORTED_OPTIONS= gnutls python lua wide-curses perl ruby PKG_SUGGESTED_OPTIONS= gnutls python lua wide-curses perl ruby .include "../../mk/bsd.options.mk" -# mk/curses will handle wide-curses +.include "../../mk/bsd.fast.prefs.mk" PLIST_VARS+= lua plugin python perl ruby @@ -18,6 +19,11 @@ PYTHON_VERSIONS_INCOMPATIBLE= 27 .include "../../lang/python/extension.mk" CMAKE_ARGS+= -DENABLE_PYTHON=ON CMAKE_ARGS+= -DPYTHON_EXECUTABLE=${PYTHONBIN} +.if ${OPSYS} == "Darwin" +CMAKE_ARGS+= -DPYTHON_LIBRARIES=${PREFIX}/lib/libpython${PYVERSSUFFIX}.dylib +.else +CMAKE_ARGS+= -DPYTHON_LIBRARIES=${PREFIX}/lib/libpython${PYVERSSUFFIX}.so +.endif PLIST.python= yes .else CMAKE_ARGS+= -DENABLE_PYTHON=OFF |