From owner-freebsd-ports Mon May 3 9:30: 5 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id DCA1E15479 for ; Mon, 3 May 1999 09:30:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id JAA00600; Mon, 3 May 1999 09:30:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from server.research.zopps.fi (ws66.research.zopps.fi [195.165.196.66]) by hub.freebsd.org (Postfix) with ESMTP id C124015475 for ; Mon, 3 May 1999 09:10:03 -0700 (PDT) (envelope-from martti@research.zopps.fi) Received: (from uucp@localhost) by server.research.zopps.fi (8.9.3/8.8.8) id TAA81768 for ; Mon, 3 May 1999 19:07:37 +0300 (EEST) (envelope-from martti.kuparinen) Received: from ws125.research.zopps.fi(195.165.196.125) via SMTP by server.research.zopps.fi, id smtpdD81764; Mon May 3 19:07:32 1999 Received: (from martti@localhost) by ws125.research.zopps.fi (8.9.2/8.8.8) id TAA08446; Mon, 3 May 1999 19:07:31 +0300 (EEST) (envelope-from martti@smtp.research.zopps.fi) Message-Id: <199905031607.TAA08446@ws125.research.zopps.fi> Date: Mon, 3 May 1999 19:07:31 +0300 (EEST) From: martti.kuparinen@ericsson.com Reply-To: martti.kuparinen@ericsson.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/11466: [PATCH] ports/lang/jdk-tutorial fails in "make clean" !!! Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 11466 >Category: ports >Synopsis: "make clean" will fail in /usr/ports/lang/jdk-tutorial/ >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon May 3 09:30:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Martti Kuparinen >Release: FreeBSD 3.1-STABLE i386 >Organization: Oy L M Ericsson Ab >Environment: >Description: The Makefile I submitted originally has been modified. The current version will fail if one executes more than once "make clean" as the file to be removed does not exist. As 3.2-RELEASE is going to be published very soon, this must be fixed as soon as possible or the /usr/ports tree will fail in "make clean" !!! >How-To-Repeat: # /usr/ports/lang/jdk-tutorial # make clean # make clean rm: /usr/ports/lang/jdk-tutorial/pkg/MESSAGE: No such file or directory *** Error code 1 Stop. >Fix: *** Makefile.orig Mon May 3 18:28:04 1999 --- Makefile Mon May 3 18:51:30 1999 *************** *** 19,34 **** .include do-install: ${MKDIR} ${PREFIX}/jdk1.1.7/docs/books/tutorial (cd ${WRKSRC} && ${TAR} -cf - * ) \ | (cd ${PREFIX}/jdk1.1.7/docs/books/tutorial && ${TAR} -xf -) post-install: - @${SED} s+!!PREFIX!!+${PREFIX}+g < ${PKGDIR}/MESSAGE.tmpl > ${PKGDIR}/MESSAGE @${CAT} ${PKGDIR}/MESSAGE pre-clean: ! @${RM} ${PKGDIR}/MESSAGE .include --- 19,36 ---- .include + do-configure: + @${SED} s+!!PREFIX!!+${PREFIX}+g < ${PKGDIR}/MESSAGE.tmpl > ${PKGDIR}/MESSAGE + do-install: ${MKDIR} ${PREFIX}/jdk1.1.7/docs/books/tutorial (cd ${WRKSRC} && ${TAR} -cf - * ) \ | (cd ${PREFIX}/jdk1.1.7/docs/books/tutorial && ${TAR} -xf -) post-install: @${CAT} ${PKGDIR}/MESSAGE pre-clean: ! @${RM} -f ${PKGDIR}/MESSAGE .include >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message