From adba66ccf57e0e4e015933f9977406c267e5d77e Mon Sep 17 00:00:00 2001 From: Emanuel Haupt Date: Thu, 13 Mar 2014 13:34:34 +0000 Subject: [PATCH] GNU_CONFIGURE is not needed in conjunction with HAS_CONFIGURE which is suitable here. Also support staging. --- net/imapproxy/Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/net/imapproxy/Makefile b/net/imapproxy/Makefile index 017605aa5e0a..0884c2cf6615 100644 --- a/net/imapproxy/Makefile +++ b/net/imapproxy/Makefile @@ -10,12 +10,14 @@ MASTER_SITES= http://www.freebsdcluster.org/~lasse/software/ MAINTAINER= lasse@freebsdcluster.org COMMENT= ImapProxy is a caching IMAP proxy daemon to be used with Horde/IMP -GNU_CONFIGURE= yes HAS_CONFIGURE= yes -NO_STAGE= yes +post-patch: + @${REINPLACE_CMD} -e 's|= -O3|+= |' ${WRKSRC}/Makefile.in + do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin - ${INSTALL_DATA} ${WRKSRC}/example.conf ${PREFIX}/etc/imapproxy.conf.dist + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin + ${INSTALL_DATA} ${WRKSRC}/example.conf \ + ${STAGEDIR}${PREFIX}/etc/imapproxy.conf.dist .include