[MacPorts] #38099: Portfile for Krita

MacPorts noreply at macports.org
Mon Feb 18 22:29:42 PST 2013


#38099: Portfile for Krita
------------------------------------+--------------------------------
  Reporter:  patrik.andersson.se@…  |      Owner:  macports-tickets@…
      Type:  submission             |     Status:  new
  Priority:  Normal                 |  Milestone:
 Component:  ports                  |    Version:  2.1.3
Resolution:                         |   Keywords:
      Port:                         |
------------------------------------+--------------------------------

Comment (by patrik.andersson.se@…):

 The reason why I override the build-phase was because it did "make all"
 and it failed for Krita. I will try run without the modifications of
 destroot and post results tonight.

 I was asked by the maintainer of krita if I could create a port to
 simplify the installation on krita, so I did an attempt. But since I'm not
 an active developer in the Krita-project, I only use their current build
 system which is a bit different from the usual ./configure & make & make
 install since it uses cmake instead. Their build-system do creates some
 folders which apparently is outside the prefix, well it could be my fault
 as well,
 {{{
 system -W ${workpath} "cmake -DCMAKE_INSTALL_PREFIX=${destroot} \
     ${worksrcpath} -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCREATIVEONLY=ON"
 }}}

 I thought ${destroot} would be a suitable prefix for the install prefix,
 then it will create some subfolder like ./lib ./share and ./include in
 DCMAKE_INSTALL_PREFIX. Could this be changed to a better prefix to prevent
 it installing outside the prefix?

-- 
Ticket URL: <https://trac.macports.org/ticket/38099#comment:14>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list