ports/166167: [patch] mail/mailman Port reinstall Patch

A.J. Kehoe IV (Nanoman) hg3hNqHo at nanoman.ca
Fri Mar 16 00:50:09 UTC 2012


>Number:         166167
>Category:       ports
>Synopsis:       [patch] mail/mailman Port reinstall Patch
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 16 00:50:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     A.J. Kehoe IV (Nanoman)
>Release:        9.0
>Organization:
Nanoman's Company
>Environment:
FreeBSD localhost 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:15:25 UTC 2012     root at obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
The FreeBSD port mail/mailman does not reinstall as intended.  During the "post-install" phase, files are moved out of the work directory instead of copied.  This causes "make reinstall" to fail.
>How-To-Repeat:
cd /usr/ports/mail/mailman
make install
make deinstall
make reinstall
>Fix:
In the "post-install" part of the Makefile, replace "MV" with "CP" and add the "-R" option.

Patch attached with submission follows:

--- ports/mail/mailman/Makefile.old	2012-03-04 01:00:37.000000000 -0500
+++ ports/mail/mailman/Makefile	2012-03-15 20:28:43.080247000 -0400
@@ -187,7 +187,7 @@
 	@uudecode -p ${FILESDIR}/powerlogo.gif.uue > \
 	  ${PREFIX}/${IMGDIR}/powerlogo.gif
 .if !defined(NOPORTDOCS)
-	@${MV} ${WRKSRC}/doc/* ${WRKSRC}/
+	@${CP} -R ${WRKSRC}/doc/* ${WRKSRC}/
 	@${MKDIR} ${DOCSDIR}
 	@${INSTALL_DATA} ${FILESDIR}/FreeBSD-post-install-notes ${DOCSDIR}
 .for docfile in ${PORTDOCS:NFreeBSD-post-install-notes}


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list