pkgsrc-Changes archive

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

CVS commit: pkgsrc/chat/irssi



Module Name:    pkgsrc
Committed By:   nia
Date:           Sun Feb 23 14:09:14 UTC 2020

Modified Files:
        pkgsrc/chat/irssi: Makefile options.mk

Log Message:
irssi: Add an OTR option. Enable it by default.

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.95 -r1.96 pkgsrc/chat/irssi/Makefile
cvs rdiff -u -r1.21 -r1.22 pkgsrc/chat/irssi/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/irssi/Makefile
diff -u pkgsrc/chat/irssi/Makefile:1.95 pkgsrc/chat/irssi/Makefile:1.96
--- pkgsrc/chat/irssi/Makefile:1.95     Sat Jan 18 21:48:50 2020
+++ pkgsrc/chat/irssi/Makefile  Sun Feb 23 14:09:13 2020
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.95 2020/01/18 21:48:50 jperkin Exp $
+# $NetBSD: Makefile,v 1.96 2020/02/23 14:09:13 nia Exp $
 
 DISTNAME=              ${IRSSI_DISTNAME}
-PKGREVISION=           1
+PKGREVISION=           2
 CATEGORIES=            chat
 EXTRACT_SUFX=          ${IRSSI_EXTRACT_SUFX}
 

Index: pkgsrc/chat/irssi/options.mk
diff -u pkgsrc/chat/irssi/options.mk:1.21 pkgsrc/chat/irssi/options.mk:1.22
--- pkgsrc/chat/irssi/options.mk:1.21   Tue Feb 12 04:43:52 2019
+++ pkgsrc/chat/irssi/options.mk        Sun Feb 23 14:09:13 2020
@@ -1,11 +1,19 @@
-# $NetBSD: options.mk,v 1.21 2019/02/12 04:43:52 maya Exp $
+# $NetBSD: options.mk,v 1.22 2020/02/23 14:09:13 nia Exp $
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.irssi
-PKG_SUPPORTED_OPTIONS=         perl truecolor
-PKG_SUGGESTED_OPTIONS=         perl truecolor
+PKG_SUPPORTED_OPTIONS=         otr perl truecolor
+PKG_SUGGESTED_OPTIONS=         otr perl truecolor
 
 .include "../../mk/bsd.options.mk"
 
+.if !empty(PKG_OPTIONS:Motr)
+# Build it into the main irssi executable instead of a module.
+CONFIGURE_ARGS+=       --with-otr=static
+.include "../../chat/libotr/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=       --with-otr=no
+.endif
+
 PLIST_VARS+=           perl
 .if !empty(PKG_OPTIONS:Mperl)
 PLIST.perl=            yes



Home | Main Index | Thread Index | Old Index