mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
Convert to USES=autoreconf
This commit is contained in:
parent
f2514e5182
commit
bee523c899
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=369121
@ -12,9 +12,17 @@ MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= POP3 Proxy Server derived from UP IMAP Proxy
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_AUTOTOOLS= autoconf213
|
||||
USES= autoreconf
|
||||
USE_OPENSSL= yes
|
||||
USE_RC_SUBR= pop3proxyd
|
||||
|
||||
post-patch:
|
||||
@${MV} ${WRKSRC}/aclocal.m4 ${WRKSRC}/acinclude.m4
|
||||
@${REINPLACE_CMD} 's/HAVE_LIBSSL/HAVE_LIBCRYPTO/' \
|
||||
${WRKSRC}/include/pop3proxy.h ${WRKSRC}/src/icc.c \
|
||||
${WRKSRC}/src/imapcommon.c ${WRKSRC}/src/main.c \
|
||||
${WRKSRC}/src/request.c
|
||||
|
||||
do-install:
|
||||
(cd ${WRKSRC}/bin && ${INSTALL_PROGRAM} pop3proxystat pop3proxyd \
|
||||
${STAGEDIR}${PREFIX}/sbin)
|
||||
|
15
mail/pop3proxy/files/patch-configure.in
Normal file
15
mail/pop3proxy/files/patch-configure.in
Normal file
@ -0,0 +1,15 @@
|
||||
--- configure.in.orig
|
||||
+++ configure.in
|
||||
@@ -15,10 +15,10 @@
|
||||
|
||||
dnl Check for BSD sockets
|
||||
AC_CHECK_FUNC(connect, ,
|
||||
- AC_CHECK_LIB(nsl, gethostbyname, ,)
|
||||
+ [AC_CHECK_LIB(nsl, gethostbyname, ,)
|
||||
AC_CHECK_LIB(socket, connect, ,
|
||||
AC_ERROR([Can't compile without BSD sockets!!!])
|
||||
- )
|
||||
+ )]
|
||||
)
|
||||
|
||||
|
@ -8,14 +8,3 @@
|
||||
#include <openssl/rand.h>
|
||||
#include <limits.h>
|
||||
#endif
|
||||
--- config.h.in Tue Apr 20 10:26:46 2004
|
||||
+++ config.h.in Sun Dec 10 11:27:13 2006
|
||||
@@ -27,7 +27,7 @@
|
||||
#undef HAVE_LIBSOCKET
|
||||
|
||||
/* Define to 1 if you have the `ssl' library (-lssl). */
|
||||
-#undef HAVE_LIBSSL
|
||||
+#define HAVE_LIBSSL 1
|
||||
|
||||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#undef HAVE_MEMORY_H
|
||||
|
Loading…
Reference in New Issue
Block a user