Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jun 2016 10:06:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 210567] www/lessc: building is occurring in stage phase, this is incorrect
Message-ID:  <bug-210567-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210567

            Bug ID: 210567
           Summary: www/lessc: building is occurring in stage phase, this
                    is incorrect
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: rodrigo@FreeBSD.org
          Reporter: marino@FreeBSD.org
          Assignee: rodrigo@FreeBSD.org
             Flags: maintainer-feedback?(rodrigo@FreeBSD.org)

I don't know anything about npm, but it appears to be both building and
installing in one step.

-----
do-install:
        (cd ${STAGEDIR}${PREFIX}/lib ; ${SETENV} HOME=3D${WRKDIR} npm insta=
ll
${WRKSRC})
        # this is a dirty hack
        ${LN} -s ${PREFIX}/lib/node_modules/.bin/lessc
${STAGEDIR}${PREFIX}/bin/lessc
-----

I would think this needs to be broken into two steps, e.g. convert do-insta=
ll
to do-build and install it in a temporary location, and then add a new
do-install that copies it to the stage directory.   There should be no buil=
ding
at all during the stage phase ideally, only copying.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-210567-13>