074ea5282a
- Remove const qualifier from iconv(3) to match POSIX: http://pubs.opengroup.org/onlinepubs/9699919799/functions/iconv.html - Patch iconv.h to expose more GNU extensions when LIBICONV_PLUG is defined because the base system iconv supports these extensions too. Add/remove patches to/from ports to call iconv with non-const arguments. This breaks some ports on FreeBSD 10 because base system iconv.h still has the const qualifier. Fix this by letting USES=iconv add a build dependency on converters/libiconv so ports can use its iconv.h (with LIBICONV_PLUG defined) instead of the base system iconv.h. This exposed some ports that link with libiconv when it is available instead of using libc iconv. In these cases one of the following changes has been made: - patch configure scripts to test for libc iconv first - add ac_cv_lib_iconv_libiconv=no or similar to CONFIGURE_ARGS to disable some configure tests - converters/wkhtmltopdf: this includes Qt4 so add a patch from devel/qt4 - lang/gcc5-aux: respect CFLAGS and friends during configure such that LIBICONV_PLUG is defined in the iconv test, also switch to external gettext - mail/gnarwl: replace patches with CPPFLAGS/LIBS - multimedia/ffmpeg2theora: remove iconv test from SConstruct and use ICONV_LIB in port Makefile instead, also fix a bug in subtitles.c - net-im/licq: finish conversion to cmake - net-mgmt/bandwidthd, net-mgmt/icinga, net-mgmt/nagios, net-mgmt/nagios4: don't need iconv - textproc/p5-XML-TinyXML: finish conversion to USES=perl5 Other changes: - databases/qdbm and slaves: respect CFLAGS and friends, also enable bzip2 and lzo support - games/ldmud: respect CFLAGS and friends - graphics/inventor: replace some patches with MAKE_ARGS/MAKE_ENV to respect CFLAGS and friends, also remove FreeBSD/alpha patch and add missing xorg dependencies PR: 199099 Exp-run by: antoine Approved by: portmgr (antoine)
77 lines
2.1 KiB
Makefile
77 lines
2.1 KiB
Makefile
# Created by: Frank Altpeter <frank@altpeter.de>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= centerim
|
|
PORTVERSION= 4.22.10.11
|
|
PORTREVISION= 4
|
|
CATEGORIES= net-im
|
|
MASTER_SITES= http://www.centerim.org/download/mobshots/ \
|
|
ftp://ftp.centerim.org/mobshots/
|
|
PKGNAMESUFFIX= -devel
|
|
|
|
MAINTAINER= frank@altpeter.de
|
|
COMMENT= Text mode menu- and window-driven IM interface
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl
|
|
|
|
USES= iconv gmake perl5 pkgconfig python:run shebangfix
|
|
USE_PERL5= run
|
|
USE_OPENSSL= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-ssl --with-openssl
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
CONFLICTS= centericq-[0-9]* centerim-[0-9]*
|
|
|
|
SHEBANG_FILES= misc/cimformathistory misc/cimextracthistory.pl
|
|
SHEBANG_LANG= gawk
|
|
gawk_OLD_CMD= /bin/gawk
|
|
gawk_CMD= /usr/bin/awk
|
|
|
|
OPTIONS_DEFINE= NLS MULTIBYTE FRIBIDI MSN YAHOO AIM IRC JABBER GPGME RSS LJ GG
|
|
|
|
FRIBIDI_DESC= Fribidi Support
|
|
MSN_DESC= MSN Protocol
|
|
YAHOO_DESC= Yahoo! Messenger Protocol
|
|
AIM_DESC= AOL's Instant Messenger Protocol
|
|
IRC_DESC= IRC Protocol
|
|
GPGME_DESC= PGP encrypted Jabber messages
|
|
RSS_DESC= RSS Support
|
|
LJ_DESC= LiveJournal Support
|
|
GG_DESC= Gadu-Gadu Protocol Support
|
|
|
|
OPTIONS_DEFAULT= MULTIBYTE FRIBIDI MSN YAHOO AIM IRC JABBER GPGME RSS LJ GG
|
|
|
|
OPTIONS_SUB= yes
|
|
|
|
PORTDOCS= FAQ README
|
|
|
|
NLS_USES= gettext
|
|
NLS_CONFIGURE_ENABLE= nls
|
|
MULTIBYTE_CONFIGURE_ENABLE=locales-fix
|
|
FRIBIDI_LIB_DEPENDS= libfribidi.so:${PORTSDIR}/converters/fribidi
|
|
FRIBIDI_CONFIGURE_WITH= fribidi
|
|
MSN_CONFIGURE_ENABLE= msn
|
|
YAHOO_CONFIGURE_ENABLE= yahoo
|
|
AIM_CONFIGURE_ENABLE= aim
|
|
IRC_CONFIGURE_ENABLE= irc
|
|
JABBER_CONFIGURE_ENABLE=jabber
|
|
RSS_CONFIGURE_ENABLE= rss
|
|
LJ_CONFIGURE_ENABLE= lj
|
|
GG_LIB_DEPENDS= libgadu.so:${PORTSDIR}/polish/libgadu
|
|
GG_CONFIGURE_ENABLE= gg
|
|
GPGME_LIB_DEPENDS= libgpgme.so:${PORTSDIR}/security/gpgme
|
|
GPGME_CONFIGURE_OFF= --with-gpgme-prefix=/nonexistent
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|/var/run/screen|/tmp/screens|' \
|
|
${WRKSRC}/src/icqconf.cc
|
|
@${REINPLACE_CMD} -e 's|-R$$found_dir|-Wl,-rpath,$$found_dir|' \
|
|
${WRKSRC}/configure
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
@(cd ${WRKSRC} ; ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/)
|
|
|
|
.include <bsd.port.mk>
|