From owner-freebsd-ports@FreeBSD.ORG Wed Aug 12 06:26:11 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BABA41065674 for ; Wed, 12 Aug 2009 06:26:11 +0000 (UTC) (envelope-from mel.flynn+fbsd.ports@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 87FE78FC5B for ; Wed, 12 Aug 2009 06:26:11 +0000 (UTC) Received: from smoochies.rachie.is-a-geek.net (mailhub.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 4BF397E818; Tue, 11 Aug 2009 22:26:10 -0800 (AKDT) From: Mel Flynn To: freebsd-ports@freebsd.org Date: Tue, 11 Aug 2009 22:26:09 -0800 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA2; KDE/4.2.4; i386; ; ) References: <4A823368.9060802@gmail.com> In-Reply-To: <4A823368.9060802@gmail.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200908112226.09346.mel.flynn+fbsd.ports@mailing.thruhere.net> Cc: bkoenig@alpha-tierchen.de, Gabriele Cecchetti Subject: Re: FreeBSD Port: omnetpp-3.3_3 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, 12 Aug 2009 06:26:12 -0000 On Tuesday 11 August 2009 19:13:44 Gabriele Cecchetti wrote: > Probably there is an error in the Makefile of omnetpp: > > When I do portupgrade at the install phase the following output is shown: > > ---> Installing the new version via the port > ===> Installing for omnetpp-3.3_3 > ===> omnetpp-3.3_3 depends on executable: convert - found > ===> omnetpp-3.3_3 depends on executable: dot - found > ===> omnetpp-3.3_3 depends on executable: doxygen - found > ===> omnetpp-3.3_3 depends on executable: giftrans - found > ===> omnetpp-3.3_3 depends on file: /usr/local/bin/perl5.10.0 - found > ===> omnetpp-3.3_3 depends on executable: pkg-config - found > ===> omnetpp-3.3_3 depends on shared library: BLT24 - found > ===> omnetpp-3.3_3 depends on shared library: tcl84 - found > ===> omnetpp-3.3_3 depends on shared library: tk84 - found > ===> omnetpp-3.3_3 depends on shared library: glib-12.3 - found > ===> omnetpp-3.3_3 depends on shared library: xml.5 - found > ===> omnetpp-3.3_3 depends on shared library: xml2.5 - found > ===> omnetpp-3.3_3 depends on shared library: xslt.2 - found > cp: pkg-plist: No such file or directory ... > Having a working directory is legal and this is set putting the > following variable in /etc/make.conf > WRKDIRPREFIX= /somedir FWIW, reproduced and ${.CURDIR} should be used (`pwd` at pre-install is ${.OBJDIR}). -- Mel Index: science/omnetpp/Makefile =================================================================== RCS file: /home/ncvs/ports/science/omnetpp/Makefile,v retrieving revision 1.12 diff -u -r1.12 Makefile --- science/omnetpp/Makefile 31 Jul 2009 13:55:36 -0000 1.12 +++ science/omnetpp/Makefile 12 Aug 2009 06:21:49 -0000 @@ -82,7 +82,7 @@ @${ECHO} "WISH=wish${TK_VER}" >> ${CONFIGUREUSER} pre-install: - @${CP} pkg-plist ${PLIST} + @${CP} ${.CURDIR}/pkg-plist ${PLIST} @(cd ${WRKSRC}; \ ${FIND} -s include -type f | ${SED} "s,^include,${INCLDIR_REL}," >> ${PLIST}; \ ${FIND} -s -d include -type d | ${SED} "s,^include,@dirrm ${INCLDIR_REL}," >> ${PLIST}; \