f074df86ce
Back out r349278 that added --with-non-gnu-iconv trying to solve our early iconv() inconsistences that are not actual anymore as it now now correctly returns non-zero count of convertable symbols. This fixes unsigned underflow in the slrn code turning negative value to large positive leading to incorrect memory accesses later. PR: 228502 Approved by: johans (maintainer timeout, 1 month)
46 lines
1,021 B
Makefile
46 lines
1,021 B
Makefile
# Created by: Carey Jones <mcj@acquiesce.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= slrn
|
|
PORTVERSION= 1.0.3a
|
|
PORTREVISION= 1
|
|
CATEGORIES= news ipv6
|
|
MASTER_SITES= http://www.jedsoft.org/releases/slrn/
|
|
|
|
MAINTAINER= johans@FreeBSD.org
|
|
COMMENT= SLang-based newsreader
|
|
|
|
LICENSE= GPLv2+
|
|
|
|
LIB_DEPENDS= libslang.so:devel/libslang2
|
|
|
|
CONFLICTS_INSTALL= ja-slrn-[0-9]*
|
|
|
|
USES= gmake iconv tar:bz2
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+=--disable-inews --with-slrnpull \
|
|
${ICONV_CONFIGURE_ARG}
|
|
|
|
ALL_TARGET= all
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/[a-z]$//}
|
|
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
OPTIONS_DEFINE= NLS SSL DEVIEW DOCS
|
|
OPTIONS_DEFAULT=SSL
|
|
OPTIONS_SUB= yes
|
|
NLS_USES= gettext
|
|
NLS_CONFIGURE_OFF= --disable-nls
|
|
SSL_USES= ssl
|
|
SSL_CONFIGURE_WITH= ssl
|
|
DEVIEW_DESC?= UUdecode view support
|
|
DEVIEW_LIB_DEPENDS= libuu.so:converters/uulib
|
|
DEVIEW_CONFIGURE_WITH= uulib
|
|
DOCS_CONFIGURE_OFF= --with-docdir=${WRKSRC}/dummy
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's,/usr/lib/sendmail,/usr/sbin/sendmail,' \
|
|
${WRKSRC}/src/slrnfeat.hin
|
|
|
|
.include <bsd.port.mk>
|