diff options
author | Peter Pentchev <roam@FreeBSD.org> | 2003-04-04 07:27:36 +0000 |
---|---|---|
committer | Peter Pentchev <roam@FreeBSD.org> | 2003-04-04 07:27:36 +0000 |
commit | 5de648d1fe0b4389042607d8bd881d5299c324e3 (patch) | |
tree | 5441dcca2a93b2f08453db1522c9d37528779f95 /mail/autorespond/Makefile | |
parent | 4bd01a9290e84b8ce7cee2f3f1efa9a7fed71795 (diff) |
Update to 2.0.3 and add my autoconfiguration patch which uses DJB's
mechanisms for detecting the availability of strcasestr(3) and only uses
autorespond's own strcasestr() version if needed.
NOTE: there is NO functionality change in autorespond-2.0.3 with respect
to 2.0.2.
Notes
Notes:
svn path=/head/; revision=78125
Diffstat (limited to 'mail/autorespond/Makefile')
-rw-r--r-- | mail/autorespond/Makefile | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/mail/autorespond/Makefile b/mail/autorespond/Makefile index bd1e788f4b01..147293ee0097 100644 --- a/mail/autorespond/Makefile +++ b/mail/autorespond/Makefile @@ -6,25 +6,22 @@ # PORTNAME= autorespond -PORTVERSION= 2.0.2 +PORTVERSION= 2.0.3 CATEGORIES= mail MASTER_SITES= http://www.inter7.com/devel/ +PATCH_SITES= http://people.FreeBSD.org/~roam/ports/patches/mail/ +PATCHFILES= ${DISTNAME}-conf-strcasestr.patch + MAINTAINER= roam@FreeBSD.org COMMENT= "Simple autoresponder for qmail" -USE_REINPLACE= yes - -.include <bsd.port.pre.mk> - -.if ${OSVERSION} < 440003 || ${OSVERSION} >= 500000 && ${OSVERSION} < 500027 -CFLAGS+= -DNEED_STRCASESTR -.endif - post-patch: - ${REINPLACE_CMD} -Ee "s|^(DEFS =.*)|\1 ${CFLAGS}|" ${WRKSRC}/Makefile + ${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc + ${ECHO_CMD} "${CC} ${STRIP}" > ${WRKSRC}/conf-ld + ${ECHO_CMD} "${PREFIX}" > ${WRKSRC}/conf-home do-install: ${INSTALL_PROGRAM} ${WRKSRC}/autorespond ${PREFIX}/bin/ -.include <bsd.port.post.mk> +.include <bsd.port.mk> |