pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
add libpurple and otr options
Module Name: pkgsrc-wip
Committed By: coypu <coypu%sdf.org@localhost>
Pushed By: coypu
Date: Sun May 1 23:14:31 2016 +0300
Changeset: 7a78a561802a088a9ccbd00b667759279bc5f942
Modified Files:
bitlbee/Makefile
Log Message:
add libpurple and otr options
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=7a78a561802a088a9ccbd00b667759279bc5f942
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
bitlbee/Makefile | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)
diffs:
diff --git a/bitlbee/Makefile b/bitlbee/Makefile
index f091b76..a4d21a6 100644
--- a/bitlbee/Makefile
+++ b/bitlbee/Makefile
@@ -68,7 +68,7 @@ do-install:
.endfor
PKG_OPTIONS_VAR= PKG_OPTIONS.bitlbee
-PKG_SUPPORTED_OPTIONS= inet6
+PKG_SUPPORTED_OPTIONS= inet6 libpurple otr
PKG_SUGGESTED_OPTIONS= inet6
.include "../../mk/bsd.options.mk"
@@ -79,6 +79,20 @@ CONFIGURE_ARGS+= --ipv6=1
CONFIGURE_ARGS+= --ipv6=0
.endif
+.if !empty(PKG_OPTIONS:Mlibpurple)
+CONFIGURE_ARGS+= --purple=1
+.include "../../chat/libpurple/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --purple=0
+.endif
+
+.if !empty(PKG_OPTIONS:Motr)
+ CONFIGURE_ARGS+= --otr=1
+.include "../../chat/libotr/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --otr=0
+.endif
+
RCD_SCRIPTS= bitlbee
RCD_SCRIPT_SRC.bitlbee= ${FILESDIR}/bitlbee.sh
Home |
Main Index |
Thread Index |
Old Index