Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Apr 2017 20:40:33 +0000 (UTC)
From:      Tilman Keskinoz <arved@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r438599 - in head/net-im/profanity: . files
Message-ID:  <201704152040.v3FKeXQ5015318@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: arved
Date: Sat Apr 15 20:40:33 2017
New Revision: 438599
URL: https://svnweb.freebsd.org/changeset/ports/438599

Log:
  Enable pluginsupport.
  
  PR:		218401
  Submitted by:	freebsd@get-experience.com
  
  While here, add configure flags to prevent linking against X11

Added:
  head/net-im/profanity/files/
  head/net-im/profanity/files/patch-configure.ac   (contents, props changed)
Modified:
  head/net-im/profanity/Makefile
  head/net-im/profanity/pkg-plist

Modified: head/net-im/profanity/Makefile
==============================================================================
--- head/net-im/profanity/Makefile	Sat Apr 15 20:16:47 2017	(r438598)
+++ head/net-im/profanity/Makefile	Sat Apr 15 20:40:33 2017	(r438599)
@@ -2,6 +2,7 @@
 
 PORTNAME=	profanity
 PORTVERSION=	0.5.1
+PORTREVISION=	1
 CATEGORIES=	net-im
 MASTER_SITES=	http://www.profanity.im/
 
@@ -11,15 +12,17 @@ COMMENT=	Console based XMPP client
 LICENSE=	GPLv3+
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-LIB_DEPENDS=	libstrophe.so:net-im/libstrophe \
+BUILD_DEPENDS=	autoconf-archive>=0:devel/autoconf-archive
+LIB_DEPENDS=	libmesode.so:net-im/libmesode \
 		libcurl.so:ftp/curl \
 		libotr.so.5:security/libotr \
 		libuuid.so:misc/e2fsprogs-libuuid \
 		libgpgme.so:security/gpgme
 
-USES=		ncurses pkgconfig ssl python readline
+USES=		ncurses pkgconfig ssl python readline autoreconf libtool
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--enable-otr
+CONFIGURE_ARGS=	--enable-otr --enable-python-plugins --enable-c-plugins \
+		--enable-pgp --enable-icons=no --with-xscreensaver=no
 CONFIGURE_ENV=	LIBS="${CFLAGS} -lcrypto"
 USE_GNOME=	glib20
 

Added: head/net-im/profanity/files/patch-configure.ac
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-im/profanity/files/patch-configure.ac	Sat Apr 15 20:40:33 2017	(r438599)
@@ -0,0 +1,14 @@
+--- configure.ac.orig	2017-04-15 18:51:39.947886000 +0000
++++ configure.ac	2017-04-15 18:52:27.321723000 +0000
+@@ -105,10 +105,7 @@
+     elif test "x$enable_c_plugins" != xno; then
+         AC_CHECK_LIB([dl], [main],
+             [AM_CONDITIONAL([BUILD_C_API], [true]) LIBS="$LIBS -ldl" AC_DEFINE([HAVE_C], [1], [C support])],
+-            [AS_IF(
+-                [test "x$enable_c_plugins" = xyes],
+-                    [AC_MSG_ERROR([dl library needed to run C plugins])],
+-                [AM_CONDITIONAL([BUILD_C_API], [false])])
++            [AM_CONDITIONAL([BUILD_C_API], [true])
+             ])
+     else
+         AM_CONDITIONAL([BUILD_C_API], [false])

Modified: head/net-im/profanity/pkg-plist
==============================================================================
--- head/net-im/profanity/pkg-plist	Sat Apr 15 20:16:47 2017	(r438598)
+++ head/net-im/profanity/pkg-plist	Sat Apr 15 20:40:33 2017	(r438599)
@@ -1,4 +1,6 @@
 bin/profanity
+include/profapi.h
+lib/libprofanity.so
 man/man1/profanity.1.gz
 %%DATADIR%%/themes/aqua
 %%DATADIR%%/themes/batman



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704152040.v3FKeXQ5015318>