Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 May 2001 14:38:50 -0300
From:      "Mario Sergio Fujikawa Ferreira" <lioux@uol.com.br>
To:        Hajimu UMEMOTO <ume@mahoroba.org>
Cc:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/27093: qpopper-4.0.1 - make fails
Message-ID:  <20010505143850.A3823@Fedaykin.here>
In-Reply-To: <20010506.013916.30099291.ume@mahoroba.org>; from ume@mahoroba.org on Sun, May 06, 2001 at 01:38:54AM %2B0900
References:  <200105051550.f45Fo2F51925@freefall.freebsd.org> <20010506.010810.07556033.ume@mahoroba.org> <20010505132551.A43072@Fedaykin.here> <20010506.013916.30099291.ume@mahoroba.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--vtzGhvizbBRQ85DL
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Sun, May 06, 2001 at 01:38:54AM +0900, Hajimu UMEMOTO wrote:
> >>>>> On Sat, 5 May 2001 13:25:52 -0300
> >>>>> "Mario Sergio Fujikawa Ferreira" <lioux@uol.com.br> said:
> 
> > I met same problem here.  If gdbm is installed, configure find it out
> > and set `#define HAVE_GDBM_H 1' into config.h.  It causes the problem.
> > I did delete HAVE_GDBM_H line from config.h after `make configure' for
> > workaround.
>  
> lioux> 	Could you try the following patch?
> 
> Unfortunately, I tried it, then it didn't help.  It works not for
> `HAVE_GDBM_H' but for `GDBM'.  In configure.in, gdbm.h is absolutely
> checked out by:
> 
>   AC_CHECK_HEADER( gdbm.h, GDBM_H="yes"; AC_DEFINE(HAVE_GDBM_H), GDBM_H="no" )
> 
> reagadless of --disable-gdbm option.

	My mistake. Try this patch. I removed the option from
configure.in and then used autoconf.
	- Removed files: files/patch-configure
	- Added files: files/patch-configure.in

-- 
Mario S F Ferreira - UnB - Brazil - "I guess this is a signature."
lioux at ( freebsd dot org | linf dot unb dot br )
flames to beloved devnull@someotherworldbeloworabove.org
feature, n: a documented bug | bug, n: an undocumented feature

--vtzGhvizbBRQ85DL
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch-qpopper

diff -ruN /usr/ports/mail/qpopper/Makefile ./Makefile
--- /usr/ports/mail/qpopper/Makefile	Sat Apr 28 04:48:42 2001
+++ ./Makefile	Sat May  5 14:36:20 2001
@@ -22,12 +22,13 @@
 
 MAINTAINER=	lioux@FreeBSD.org
 
+USE_AUTOCONF=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	LIBS="-lmd -lutil" \
 		OS_DEFS="-DSETPROCTITLE ${OS_DEFS}"
 CONFIGURE_ARGS=	--enable-apop=${PREFIX}/etc/qpopper/pop.auth \
 		--enable-nonauth-file=/etc/ftpusers \
-		--with-apopuid=pop \
+		--with-apopuid=pop --without-gdbm \
 		--enable-keep-temp-drop
 
 MAN8=		qpopauth.8 qpopper.8
@@ -59,6 +60,9 @@
 post-patch:
 	@${RM} -f ${WRKSRC}/popper/md5.h
 	@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/man/*
+
+pre-configure:
+	@(cd ${WRKSRC}; ${CHMOD} u+w configure*)
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/popper/popauth ${PREFIX}/bin/qpopauth
diff -ruN /usr/ports/mail/qpopper/files/patch-configure ./files/patch-configure
--- /usr/ports/mail/qpopper/files/patch-configure	Tue Apr 17 11:12:11 2001
+++ ./files/patch-configure	Wed Dec 31 21:00:00 1969
@@ -1,14 +0,0 @@
-
-$FreeBSD: ports/mail/qpopper/files/patch-configure,v 1.2 2001/04/17 14:12:33 sobomax Exp $
-
---- configure.orig	Wed Apr  4 03:28:30 2001
-+++ configure	Fri Apr 13 19:20:14 2001
-@@ -2559,7 +2559,7 @@
- EOF
- 
-     SSL_DIR_INC="-I${openssl}/include"
--    SSL_LIBS="-L${openssl}/lib -lssl -lcrypto"
-+    SSL_LIBS="-L${openssl}/lib -lssl -lcrypto ${RSAGLUE}"
- fi
- 
- 
diff -ruN /usr/ports/mail/qpopper/files/patch-configure.in ./files/patch-configure.in
--- /usr/ports/mail/qpopper/files/patch-configure.in	Wed Dec 31 21:00:00 1969
+++ ./files/patch-configure.in	Sat May  5 14:33:55 2001
@@ -0,0 +1,19 @@
+--- configure.in.orig	Sat May  5 14:32:51 2001
++++ configure.in	Sat May  5 14:33:32 2001
+@@ -838,7 +838,7 @@
+     AC_DEFINE_UNQUOTED(QPOP_OPENSSL, "$openssl")
+     AC_DEFINE(QPOP_SSL)
+     SSL_DIR_INC="-I${openssl}/include"
+-    SSL_LIBS="-L${openssl}/lib -lssl -lcrypto"
++    SSL_LIBS="-L${openssl}/lib -lssl -lcrypto ${RSAGLUE}"
+ fi
+ 
+ 
+@@ -1257,7 +1257,6 @@
+ )
+ 
+ AC_CHECK_HEADER( ndbm.h, NDBM_H="yes"; AC_DEFINE(HAVE_NDBM_H), NDBM_H="no" )
+-AC_CHECK_HEADER( gdbm.h, GDBM_H="yes"; AC_DEFINE(HAVE_GDBM_H), GDBM_H="no" )
+ AC_CHECK_HEADER(  dbm.h,  DBM_H="yes"; AC_DEFINE(HAVE_DBM_H),   DBM_H="no" )
+ 
+ 
diff -ruN /usr/ports/mail/qpopper/patch-configure ./patch-configure
--- /usr/ports/mail/qpopper/patch-configure	Wed Dec 31 21:00:00 1969
+++ ./patch-configure	Tue Apr 17 11:12:11 2001
@@ -0,0 +1,14 @@
+
+$FreeBSD: ports/mail/qpopper/files/patch-configure,v 1.2 2001/04/17 14:12:33 sobomax Exp $
+
+--- configure.orig	Wed Apr  4 03:28:30 2001
++++ configure	Fri Apr 13 19:20:14 2001
+@@ -2559,7 +2559,7 @@
+ EOF
+ 
+     SSL_DIR_INC="-I${openssl}/include"
+-    SSL_LIBS="-L${openssl}/lib -lssl -lcrypto"
++    SSL_LIBS="-L${openssl}/lib -lssl -lcrypto ${RSAGLUE}"
+ fi
+ 
+ 

--vtzGhvizbBRQ85DL--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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