FreeBSD Port: omnetpp-3.3_3

Mel Flynn mel.flynn+fbsd.ports at mailing.thruhere.net
Wed Aug 12 06:26:12 UTC 2009


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, at dirrm ${INCLDIR_REL}," >> ${PLIST}; \



More information about the freebsd-ports mailing list