From owner-freebsd-ports@FreeBSD.ORG Wed Dec 14 21:02:12 2005 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0549F16A41F; Wed, 14 Dec 2005 21:02:12 +0000 (GMT) (envelope-from sa2c@sa2c.net) Received: from sakura.and.or.jp (sakura.and.or.jp [59.106.20.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id B6EC643D73; Wed, 14 Dec 2005 21:01:53 +0000 (GMT) (envelope-from sa2c@sa2c.net) Received: from sakura.and.or.jp (localhost [127.0.0.1]) by sakura.and.or.jp (Postfix) with ESMTP id 7843861C2B; Thu, 15 Dec 2005 06:01:50 +0900 (JST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=selector1; d=sa2c.net; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type; b=pI9xE52CBqHxW4+CETeIIvO3j+/3nDygO+L7m5BCYRmA/I1P8XCHWKX2tpGD5M5UMIlirX3vg9rj+OrB6lXkydV4MmTYnKFWeJ6h3geSsF7NTNhl43UGhwWXfQ8EWS/3mK9rcaW8+q1yhA0EFqZ0I2txwP6rHqN2VwqjpiOmndM=; Message-ID: <43A0883D.1060205@sa2c.net> Date: Thu, 15 Dec 2005 06:01:49 +0900 From: NIIMI Satoshi MIME-Version: 1.0 To: Bill Fenner References: <200512141707.jBEH7xVl007785@bright.research.att.com> In-Reply-To: <200512141707.jBEH7xVl007785@bright.research.att.com> Content-Type: multipart/mixed; boundary="------------090907070308090507030506" X-Virus-Scanned: ClamAV using ClamSMTP Cc: ports@freebsd.org, lawrance@freebsd.org, edwin@freebsd.org Subject: Re: Errors in port Makefiles: emacs20 and postgis X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Dec 2005 21:02:12 -0000 This is a multi-part message in MIME format. --------------090907070308090507030506 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 2005/12/15 2:07, Bill Fenner wrote: > ===> chinese/emacs20 > "/a/fenner/ports/chinese/emacs20/../../editors/emacs20/Makefile", line 67: > warning: duplicate script for target "post-install" ignored > "/a/fenner/ports/chinese/emacs20/../../editors/emacs20/Makefile", line 68: > warning: duplicate script for target "post-install" ignored > > I guess editors/emacs20 gained a post-install target, while chinese/emacs20 > already had one? Oops. I didn't check that port when I posted the PR. Changing "post-install:" to "post-install::" on editors/emacs20/Makefile and chinese/emacs20/Makefile like attached patch fixes the problem. -- NIIMI Satoshi --------------090907070308090507030506 Content-Type: text/plain; name="diff.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="diff.txt" Index: chinese/emacs20/Makefile =================================================================== RCS file: /home/ncvs/ports/chinese/emacs20/Makefile,v retrieving revision 1.4 diff -u -r1.4 Makefile --- chinese/emacs20/Makefile 29 Jan 2002 09:39:58 -0000 1.4 +++ chinese/emacs20/Makefile 14 Dec 2005 20:39:00 -0000 @@ -32,7 +32,7 @@ @${ECHO_CMD} "share/emacs/%%EMACS_VER%%/etc/dot.emacs" >> ${WRKDIR}/pkg-plist @${CAT} ${MASTERDIR}/pkg-plist >> ${WRKDIR}/pkg-plist -post-install: +post-install:: ${INSTALL} -c ${.CURDIR}/files/Emacs ${PREFIX}/share/emacs/${PORTVERSION}/etc ${INSTALL} -c ${.CURDIR}/files/dot.emacs ${PREFIX}/share/emacs/${PORTVERSION}/etc @${CAT} ${PKGMESSAGE} Index: editors/emacs20/Makefile =================================================================== RCS file: /home/ncvs/ports/editors/emacs20/Makefile,v retrieving revision 1.74 diff -u -r1.74 Makefile --- editors/emacs20/Makefile 12 Dec 2005 21:12:52 -0000 1.74 +++ editors/emacs20/Makefile 14 Dec 2005 20:38:33 -0000 @@ -61,7 +61,7 @@ ) BINDIR= ${PREFIX}/libexec/emacs/${EMACS_VER}/${CONFIGURE_TARGET} -post-install: +post-install:: for f in b2m ctags emacs emacsclient etags rcs-checkin; do \ ${LN} -sf ${BINDIR}/$${f} ${PREFIX}/bin/$${f}20; \ done --------------090907070308090507030506--