pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/gcc47-libs



Module Name:    pkgsrc
Committed By:   sbd
Date:           Thu Sep 13 10:04:33 UTC 2012

Added Files:
        pkgsrc/lang/gcc47-libs: DESCR Makefile

Log Message:
Create the gcc47-libs package.

This package contains _just_ the shared libraries from gcc47 that programs
compiled with gcc need at runtime so that the entire gcc47 package does not
have to be install.

Because multiple packages cannot be build from the same PKGDIR and building
components of gcc separately is problematic this package is build using a
a couple of "cheap tricks":

1) gcc47 is built as before (including the libraries) but with a second
   RPATH compiled in to all programs.

2) This package has a BUILD_DEPENDS on lang/gcc47 and simply copies the
   shared libraries (except the java ones) to the second RPATH location
   (so as to not have conflicts with lang/gcc47).

3) When adding a runtime dependence the pattern '{gcc47,gcc47-libs}>=4.7.*'
   is used (i.e. the full gcc47 OR the gcc47-libs package can be used).

4) So that when a package that has the above dependence is installed
   pkg_add will, if neither gcc47 or gcc47-libs is installed, automatically
   install gcc47-libs the PKGREVISION of gcc47-libs should all ways be
   bumped so that it is at least 1 more than that of the lang/gcc47
   package. (With a note in this packages Makefile and one to be placed
   in lang/gcc47's Makefile.)


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/gcc47-libs/DESCR \
    pkgsrc/lang/gcc47-libs/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index