Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Aug 2007 18:50:20 GMT
From:      =?ISO-8859-2?Q?Pawe=B3_P=EAkala?= <c0rn@o2.pl>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/115875: mail/libetpan 0.52 fails on 6.2-stable i386 when built WITH_GNUTLS=yes
Message-ID:  <200708281850.l7SIoKVt075741@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/115875; it has been noted by GNATS.

From: =?ISO-8859-2?Q?Pawe=B3_P=EAkala?= <c0rn@o2.pl>
To: bug-followup@FreeBSD.org, bf <bf2006a@yahoo.com>
Cc:  
Subject: Re: ports/115875: mail/libetpan 0.52 fails on 6.2-stable i386 when
 built WITH_GNUTLS=yes
Date: Tue, 28 Aug 2007 20:25:26 +0200

 This should fix it:
 
 diff -u /usr/ports/mail/libetpan/Makefile libetpan/Makefile
 --- /usr/ports/mail/libetpan/Makefile	Sat Aug 25 12:46:14 2007
 +++ libetpan/Makefile	Tue Aug 28 20:13:57 2007
 @@ -8,6 +8,7 @@
  
  PORTNAME=	libetpan
  PORTVERSION=	0.52
 +PORTREVISION=	1
  CATEGORIES=	mail
  MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
  MASTER_SITE_SUBDIR=	${PORTNAME}
 @@ -15,6 +16,10 @@
  MAINTAINER=	c0rn@o2.pl
  COMMENT=	A mail library
  
 +LIB_DEPENDS=	curl:${PORTSDIR}/ftp/curl \
 +		expat:${PORTSDIR}/textproc/expat2 \
 +		sasl2.2:${PORTSDIR}/security/cyrus-sasl2
 +
  USE_ICONV=	yes
  USE_AUTOTOOLS=	libtool:15 autoconf:261
  USE_LDCONFIG=	yes
 @@ -23,18 +28,14 @@
  CFLAGS+=	-I${LOCALBASE}/include ${PTHREAD_CFLAGS}
  LDFLAGS+=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
  
 +CONFIGURE_ENV=	CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
 +
  .if defined(WITH_GNUTLS)
  LIB_DEPENDS+=	gnutls.13:${PORTSDIR}/security/gnutls
 -CONFIGURE_ARGS+=	--with-gnutls
 +CONFIGURE_ARGS+=	--without-openssl --with-gnutls
  .else
  USE_OPENSSL=	yes
  CONFIGURE_ARGS+=	--without-gnutls
 -.endif
 -
 -.if defined(WITH_SASL)
 -LIB_DEPENDS+=	sasl2.2:${PORTSDIR}/security/cyrus-sasl2
 -.else
 -CONFIGURE_ARGS+=	--without-sasl
  .endif
  
  post-install:



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