Date: Thu, 15 Dec 2005 06:01:49 +0900 From: NIIMI Satoshi <sa2c@sa2c.net> To: Bill Fenner <fenner@research.att.com> Cc: ports@freebsd.org, lawrance@freebsd.org, edwin@freebsd.org Subject: Re: Errors in port Makefiles: emacs20 and postgis Message-ID: <43A0883D.1060205@sa2c.net> In-Reply-To: <200512141707.jBEH7xVl007785@bright.research.att.com> References: <200512141707.jBEH7xVl007785@bright.research.att.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43A0883D.1060205>