Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Aug 2009 22:26:09 -0800
From:      Mel Flynn <mel.flynn+fbsd.ports@mailing.thruhere.net>
To:        freebsd-ports@freebsd.org
Cc:        bkoenig@alpha-tierchen.de, Gabriele Cecchetti <gabriele.cecchetti@gmail.com>
Subject:   Re: FreeBSD Port: omnetpp-3.3_3
Message-ID:  <200908112226.09346.mel.flynn%2Bfbsd.ports@mailing.thruhere.net>
In-Reply-To: <4A823368.9060802@gmail.com>
References:  <4A823368.9060802@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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}; \




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908112226.09346.mel.flynn%2Bfbsd.ports>