aboutsummaryrefslogtreecommitdiff
path: root/mail/up-imapproxy
diff options
context:
space:
mode:
authorMartin Blapp <mbr@FreeBSD.org>2010-01-02 22:30:52 +0000
committerMartin Blapp <mbr@FreeBSD.org>2010-01-02 22:30:52 +0000
commit7f3c36366f9083983919fec00110b853be0a81fe (patch)
tree2dd53278535486f8bae68ecf7af4660c3461ac19 /mail/up-imapproxy
parent463d6d0b9487d2d53d6d81e794c54147eea3142c (diff)
downloadports-7f3c36366f9083983919fec00110b853be0a81fe.tar.gz
ports-7f3c36366f9083983919fec00110b853be0a81fe.zip
Notes
Diffstat (limited to 'mail/up-imapproxy')
-rw-r--r--mail/up-imapproxy/Makefile9
-rw-r--r--mail/up-imapproxy/files/patch-configure.in12
2 files changed, 15 insertions, 6 deletions
diff --git a/mail/up-imapproxy/Makefile b/mail/up-imapproxy/Makefile
index c4d6a44aba3e..49ee6e0a2cfa 100644
--- a/mail/up-imapproxy/Makefile
+++ b/mail/up-imapproxy/Makefile
@@ -7,7 +7,7 @@
PORTNAME= imapproxy
PORTVERSION= 1.2.6
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= mail
MASTER_SITES= http://www.imapproxy.org/downloads/
PKGNAMEPREFIX= up-
@@ -16,7 +16,8 @@ DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
MAINTAINER= mbr@FreeBSD.org
COMMENT= A caching IMAP proxy server
-GNU_CONFIGURE= YES
+USE_AUTOTOOLS= autoheader:262
+
USE_RC_SUBR= imapproxyd.sh
DOCS= COPYING ChangeLog README README.debian \
README.known_issues README.ssl
@@ -26,10 +27,6 @@ SUB_FILES= pkg-message
CONFIGURE_ARGS+= --with-openssl=${OPENSSLBASE}
-post-patch:
- ${REINPLACE_CMD} -e "s|-lc_r|${PTHREAD_LIBS}|g" \
- -e "s|-lpthread|${PTHREAD_LIBS}|g" ${WRKSRC}/configure
-
do-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
diff --git a/mail/up-imapproxy/files/patch-configure.in b/mail/up-imapproxy/files/patch-configure.in
new file mode 100644
index 000000000000..cc7878a43142
--- /dev/null
+++ b/mail/up-imapproxy/files/patch-configure.in
@@ -0,0 +1,12 @@
+--- configure.in.orig 2009-03-26 15:13:59.000000000 +0100
++++ configure.in 2009-03-26 15:14:54.000000000 +0100
+@@ -129,7 +129,8 @@
+ LIBS="$save_LIBS"
+ AC_SUBST(LIB_CURSES)
+
+-
++eval expanded_sysconfdir="\"$sysconfdir\""
++AC_DEFINE_UNQUOTED(DEFAULT_CONFIG_FILE, "$expanded_sysconfdir/imapproxyd.conf", [default location of config file])
+ AC_CONFIG_HEADER(config.h)
+
+