mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04: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
3 changed files with 24 additions and 12 deletions
|
@ -12,9 +12,17 @@ MAINTAINER= ports@FreeBSD.org
|
||||||
COMMENT= POP3 Proxy Server derived from UP IMAP Proxy
|
COMMENT= POP3 Proxy Server derived from UP IMAP Proxy
|
||||||
|
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
USE_AUTOTOOLS= autoconf213
|
USES= autoreconf
|
||||||
|
USE_OPENSSL= yes
|
||||||
USE_RC_SUBR= pop3proxyd
|
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:
|
do-install:
|
||||||
(cd ${WRKSRC}/bin && ${INSTALL_PROGRAM} pop3proxystat pop3proxyd \
|
(cd ${WRKSRC}/bin && ${INSTALL_PROGRAM} pop3proxystat pop3proxyd \
|
||||||
${STAGEDIR}${PREFIX}/sbin)
|
${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 <openssl/rand.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#endif
|
#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…
Add table
Reference in a new issue