1
0
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:
Tijl Coosemans 2014-09-23 20:57:42 +00:00
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

View File

@ -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)

View 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!!!])
- )
+ )]
)

View File

@ -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