pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/chat/weechat
Module Name: pkgsrc
Committed By: nia
Date: Sat Sep 21 14:57:46 UTC 2019
Modified Files:
pkgsrc/chat/weechat: Makefile options.mk
Log Message:
weechat: Fix loading the Python plugin after the build system change.
Bump PKGREVISION.
To generate a diff of this commit:
cvs rdiff -u -r1.105 -r1.106 pkgsrc/chat/weechat/Makefile
cvs rdiff -u -r1.19 -r1.20 pkgsrc/chat/weechat/options.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/chat/weechat/Makefile
diff -u pkgsrc/chat/weechat/Makefile:1.105 pkgsrc/chat/weechat/Makefile:1.106
--- pkgsrc/chat/weechat/Makefile:1.105 Sat Sep 21 10:09:25 2019
+++ pkgsrc/chat/weechat/Makefile Sat Sep 21 14:57:46 2019
@@ -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
Index: pkgsrc/chat/weechat/options.mk
diff -u pkgsrc/chat/weechat/options.mk:1.19 pkgsrc/chat/weechat/options.mk:1.20
--- pkgsrc/chat/weechat/options.mk:1.19 Tue Sep 17 11:30:27 2019
+++ pkgsrc/chat/weechat/options.mk Sat Sep 21 14:57:46 2019
@@ -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
Home |
Main Index |
Thread Index |
Old Index