Summary: | mail/libetpan 0.52 fails on 6.2-stable i386 when built WITH_GNUTLS=yes | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | bf <bf2006a> |
Component: | Individual Port(s) | Assignee: | Stefan Walter <stefan> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | ||
Priority: | Normal | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
bf
2007-08-27 18:00:03 UTC
State Changed From-To: open->feedback Awaiting maintainers feedback 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: Hi Pawel, the patch you submitted seems to do more than fix the described problem. Are unconditional dependencies to curl, expat2 and cyrus-sasl2 related to the problem or was there another reason why you added them? Best regards, Stefan >
>the patch you submitted seems to do more than fix the described
>problem. Are unconditional dependencies to curl, expat2 and
>cyrus-sasl2 related to the problem or was there another reason why you
>added them?
After reviewing this port upon this bug I decided that those
dependencies will be useful, curl, expat is needed for RSS support and
cyrus-sasl2 for authentication. So yes, this patch fixes described
problem and adds some additional improvements.
If you are not ok with it please tell me and I will open another PR
with only those improvements.
Responsible Changed From-To: freebsd-ports-bugs->stefan Take. State Changed From-To: feedback->closed A fix has been committed, thanks for your report! stefan 2007-10-01 20:37:42 UTC FreeBSD ports repository Modified files: mail/libetpan Makefile Log: - Fix build WITH_GNUTLS=yes. - Unconditionally depend on curl, expat2 and cyrus-sasl2. PR: 115875 Submitted by: bf <bf2006a@yahoo.com> Patch by: maintainer Revision Changes Path 1.45 +8 -7 ports/mail/libetpan/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org" |