Index: head/mail/procmail/Makefile =================================================================== --- head/mail/procmail/Makefile (revision 345803) +++ head/mail/procmail/Makefile (revision 345804) @@ -1,46 +1,42 @@ # Created by: Adam David # $FreeBSD$ PORTNAME= procmail PORTVERSION= 3.22 PORTREVISION= 7 CATEGORIES= mail MASTER_SITES= ftp://ftp.ucsb.edu/pub/mirrors/procmail/ \ ftp://ftp.informatik.rwth-aachen.de/pub/packages/procmail/ \ ftp://ftp.fu-berlin.de/pub/unix/mail/procmail/ \ ftp://ftp.kfki.hu/pub/packages/mail/procmail/ \ http://www.ring.gr.jp/archives/net/mail/procmail/ \ ftp://ftp.ring.gr.jp/pub/net/mail/procmail/ \ ftp://ftp.mirrorservice.org/sites/ftp.procmail.org/pub/procmail/ \ LOCAL/sunpoet MAINTAINER= sunpoet@FreeBSD.org COMMENT= Local mail delivery agent +OPTIONS_DEFINE= DOCS EXAMPLES + INSTALL_TARGET= install-suid install.man PLIST_FILES= bin/formail bin/lockfile bin/mailstat bin/procmail \ man/man1/formail.1.gz man/man1/lockfile.1.gz \ man/man1/procmail.1.gz man/man5/procmailex.5.gz \ man/man5/procmailrc.5.gz man/man5/procmailsc.5.gz PORTDOCS= FAQ FEATURES HISTORY KNOWN_BUGS README PORTEXAMPLES= 1procmailrc 1rmail 2procmailrc 2rmail 3procmailrc 3rmail \ advanced dirname forward local_procmail_lmtp.m4 mailstat -OPTIONS_DEFINE= DOCS EXAMPLES - -.include - post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/config.h # Allow parallel builds (-jX) to work - @${FIND} ${WRKSRC} -name 'Makefile*' | ${XARGS} ${REINPLACE_CMD} \ - -E 's|cd (.+); (\$$\(MAKE\))|\2 -C \1|' + @${FIND} ${WRKSRC} -name 'Makefile*' | ${XARGS} ${REINPLACE_CMD} -E 's|cd (.+); (\$$\(MAKE\))|\2 -C \1|' post-install: - ${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} - ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} - ${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/examples/|} ${STAGEDIR}${EXAMPLESDIR} + ${MKDIR} ${STAGEDIR}${DOCSDIR}/ ${STAGEDIR}${EXAMPLESDIR}/ + cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ + cd ${WRKSRC}/examples/ && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}/ .include Index: head/mail/procmail/files/patch-src:mailfold.c =================================================================== --- head/mail/procmail/files/patch-src:mailfold.c (revision 345803) +++ head/mail/procmail/files/patch-src:mailfold.c (nonexistent) @@ -1,12 +0,0 @@ ---- src/mailfold.c.orig 2001-09-11 08:58:34.000000000 +0400 -+++ src/mailfold.c 2010-12-06 12:55:44.000000000 +0300 -@@ -378,7 +378,8 @@ - dfilled=mailread=0; - else if(rhead) /* only read in a new header */ - { memblk new; -- dfilled=mailread=0;makeblock(&new,0);readdyn(&new,&dfilled,0); -+ dfilled=mailread=0;makeblock(&new,0); -+ readdyn(&new,&dfilled,thebody-themail.p); - if(tobesent>dfilled&&isprivate) /* put it in place here */ - { tmemmove(themail.p+dfilled,thebody,filled-=tobesent); - tmemmove(themail.p,new.p,dfilled); Property changes on: head/mail/procmail/files/patch-src:mailfold.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/mail/procmail/files/patch-src:autoconf =================================================================== --- head/mail/procmail/files/patch-src:autoconf (revision 345803) +++ head/mail/procmail/files/patch-src:autoconf (nonexistent) @@ -1,20 +0,0 @@ ---- src/autoconf.orig 2001-09-10 21:55:46.000000000 -0700 -+++ src/autoconf 2010-12-23 11:53:07.000000000 -0800 -@@ -230,7 +230,8 @@ - echo "" - if test -z "$LOCKINGTEST" - then -- read b -+ #read b -+ b="" - elif test dummy = "$LOCKINGTEST" - then - b="" -@@ -977,6 +978,7 @@ - - echo 'Checking realloc implementation' - -+$RM -f _autotst - if $MAKE _autotst >$DEVNULL 2>&1 - test -f _autotst - then Property changes on: head/mail/procmail/files/patch-src:autoconf ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/mail/procmail/files/patch-src-autoconf =================================================================== --- head/mail/procmail/files/patch-src-autoconf (nonexistent) +++ head/mail/procmail/files/patch-src-autoconf (revision 345804) @@ -0,0 +1,20 @@ +--- src/autoconf.orig 2001-09-10 21:55:46.000000000 -0700 ++++ src/autoconf 2010-12-23 11:53:07.000000000 -0800 +@@ -230,7 +230,8 @@ + echo "" + if test -z "$LOCKINGTEST" + then +- read b ++ #read b ++ b="" + elif test dummy = "$LOCKINGTEST" + then + b="" +@@ -977,6 +978,7 @@ + + echo 'Checking realloc implementation' + ++$RM -f _autotst + if $MAKE _autotst >$DEVNULL 2>&1 + test -f _autotst + then Property changes on: head/mail/procmail/files/patch-src-autoconf ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/mail/procmail/files/patch-src-mailfold.c =================================================================== --- head/mail/procmail/files/patch-src-mailfold.c (nonexistent) +++ head/mail/procmail/files/patch-src-mailfold.c (revision 345804) @@ -0,0 +1,12 @@ +--- src/mailfold.c.orig 2001-09-11 08:58:34.000000000 +0400 ++++ src/mailfold.c 2010-12-06 12:55:44.000000000 +0300 +@@ -378,7 +378,8 @@ + dfilled=mailread=0; + else if(rhead) /* only read in a new header */ + { memblk new; +- dfilled=mailread=0;makeblock(&new,0);readdyn(&new,&dfilled,0); ++ dfilled=mailread=0;makeblock(&new,0); ++ readdyn(&new,&dfilled,thebody-themail.p); + if(tobesent>dfilled&&isprivate) /* put it in place here */ + { tmemmove(themail.p+dfilled,thebody,filled-=tobesent); + tmemmove(themail.p,new.p,dfilled); Property changes on: head/mail/procmail/files/patch-src-mailfold.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property