mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
Enable pluginsupport.
PR: 218401 Submitted by: freebsd@get-experience.com While here, add configure flags to prevent linking against X11
This commit is contained in:
parent
e216e4a777
commit
c5be38450c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=438599
@ -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
|
||||
|
||||
|
14
net-im/profanity/files/patch-configure.ac
Normal file
14
net-im/profanity/files/patch-configure.ac
Normal file
@ -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])
|
@ -1,4 +1,6 @@
|
||||
bin/profanity
|
||||
include/profapi.h
|
||||
lib/libprofanity.so
|
||||
man/man1/profanity.1.gz
|
||||
%%DATADIR%%/themes/aqua
|
||||
%%DATADIR%%/themes/batman
|
||||
|
Loading…
Reference in New Issue
Block a user