openscad.pro patch for configurable PREFIX

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

openscad.pro patch for configurable PREFIX

chrysn
the attached patch makes the build process configurable by accepting a
PREFIX=/usr (or /opt or whatever) option to qmake. previously, the
prefix was hardcoded to /usr/local, which is suitable for users who
install the software themselves, but not for distributions.

debian[1] and opensuse[2] both independently maintain patches that
change the hardcoded value to /usr; if this patch gets accepted, there
will be no need for that any more. (the .spec file would have to invoke
"qmake PREFIX=/usr" instead of "qmake", in debian it's a default
argument).

please consider including the patch!

regards
chrysn

[1] https://launchpad.net/~chrysn/+archive/openscad/+files/openscad_2011.09%7Egit20110929-2precise1.debian.tar.gz
[2] https://build.opensuse.org/package/view_file?file=openscad-nolocal.patch&package=openscad&project=graphics&srcmd5=a5e76dc1c81d2dc33b00a47aceb92fe0

--
To use raw power is to make yourself infinitely vulnerable to greater powers.
  -- Bene Gesserit axiom

0001-accept-qmake-s-PREFIX-argument.patch (1K) Download Attachment
signature.asc (836 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: openscad.pro patch for configurable PREFIX

kintel
Administrator
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Nov 3, 2011, at 15:00 PM, chrysn wrote:
>
> please consider including the patch!
>

Applied and pushed to master.

Thx,

 -Marius

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org

iEYEARECAAYFAk6yockACgkQF4TaqdSZNKQyEwCcCEy/8sbtG9dzIUf9KFn1xUeS
SvwAnj/XESHw9zGVD+q5wyNrD/1950qY
=dFiM
-----END PGP SIGNATURE-----