From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Mar 16 00:50:09 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 12ED71065673 for ; Fri, 16 Mar 2012 00:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 15BD38FC15 for ; Fri, 16 Mar 2012 00:50:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q2G0o1fi012595 for ; Fri, 16 Mar 2012 00:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q2G0o1PD012594; Fri, 16 Mar 2012 00:50:01 GMT (envelope-from gnats) Resent-Date: Fri, 16 Mar 2012 00:50:01 GMT Resent-Message-Id: <201203160050.q2G0o1PD012594@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "A.J. Kehoe IV (Nanoman)" Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E53521065676 for ; Fri, 16 Mar 2012 00:42:40 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id D4EC18FC1C for ; Fri, 16 Mar 2012 00:42:40 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q2G0geHj002402 for ; Fri, 16 Mar 2012 00:42:40 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q2G0geAx002397; Fri, 16 Mar 2012 00:42:40 GMT (envelope-from nobody) Message-Id: <201203160042.q2G0geAx002397@red.freebsd.org> Date: Fri, 16 Mar 2012 00:42:40 GMT From: "A.J. Kehoe IV (Nanoman)" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/166167: [patch] mail/mailman Port reinstall Patch X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Mar 2012 00:50:09 -0000 >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@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: