ports/154090: /usr/ports/mail/enma got SIGSEGV.
Hirohisa Yamaguchi
umq at ueo.co.jp
Tue Jan 25 15:10:12 UTC 2011
The following reply was made to PR ports/154090; it has been noted by GNATS.
From: Hirohisa Yamaguchi <umq at ueo.co.jp>
To: bug-followup at FreeBSD.ORG
Cc:
Subject: Re: ports/154090: /usr/ports/mail/enma got SIGSEGV.
Date: Wed, 26 Jan 2011 00:04:37 +0900
Hi,
At Mon, 17 Jan 2011 16:00:29 UT,
Edwin Groothuis wrote:
> Maintainer of mail/enma,
>
> Please note that PR ports/154090 has just been submitted.
>
> The full text of the PR can be found at:
> http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/154090
I see the problem.
Attaching a patch to build with dns/bind97.
--
Hirohisa Yamaguchi
umq at ueo.co.jp
cvs diff: Diffing .
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/mail/enma/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- Makefile 1 Nov 2010 23:15:59 -0000 1.7
+++ Makefile 25 Jan 2011 14:51:20 -0000
@@ -7,13 +7,14 @@
PORTNAME= enma
PORTVERSION= 1.1.0
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= SF/${PORTNAME}/ENMA/${PORTVERSION}
MAINTAINER= umq at ueo.co.jp
COMMENT= A sender authentication milter supporting SPF and Sender ID
-BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/dns/libbind:checksum
+BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/dns/bind97:checksum
.if defined(WITH_POSTFIX_MILTER) || defined(WITH_POSTFIX) || defined(WITH_POSTFIX_CURRENT)
CONF_SUB= ${REINPLACE_CMD} -e '/milter\.postfix/s/false/true/' ${WRKSRC}/enma/etc/enma.conf.sample
@@ -24,7 +25,7 @@
.endif
.endif
-BIND_PATH_CMD= cd ${PORTSDIR}/dns/libbind && ${MAKE} -V WRKSRC
+BIND_PATH_CMD= cd ${PORTSDIR}/dns/bind97 && ${MAKE} -V WRKSRC
BIND_SRC_DIR= ${BASENAME} $$(${BIND_PATH_CMD})
HAS_CONFIGURE= yes
@@ -51,10 +52,16 @@
.include "${PORTSDIR}/Mk/bsd.openssl.mk"
pre-configure:
- cd ${PORTSDIR}/dns/libbind && ${MAKE} -DBATCH patch && \
+ cd ${PORTSDIR}/dns/bind97 && ${MAKE} -DBATCH patch && \
${LN} -s $$(${BIND_PATH_CMD}) ${WRKSRC}/build && \
cd ${WRKSRC}/build/$$(${BIND_SRC_DIR}) && \
- ./configure --prefix=${WRKSRC}/build/tmp_build --enable-threads && ${MAKE} && ${MAKE} install
+ ./configure --prefix=${WRKSRC}/build/tmp_build --enable-threads && \
+ cd ${WRKSRC}/build/$$(${BIND_SRC_DIR})/lib/dns && \
+ ${MAKE} include/dns/enumtype.h include/dns/enumclass.h && \
+ cd ${WRKSRC}/build/$$(${BIND_SRC_DIR})/lib/bind9 && \
+ ${MAKE} && ${MAKE} install
+ ${REINPLACE_CMD} -e 's/-lbind/-lbind9/' ${WRKSRC}/configure \
+ ${WRKSRC}/enma/bin/Makefile.in ${WRKSRC}/enma/src/Makefile.in
$$(${CONF_SUB})
post-install:
cvs diff: Diffing files
More information about the freebsd-ports-bugs
mailing list