summaryrefslogtreecommitdiff
path: root/lang/gcc47-libs
AgeCommit message (Collapse)AuthorFilesLines
2012-10-02Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.asau1-3/+1
2012-09-26Instead of using the 'gcc -dumpmachine' output for the target machinesbd1-14/+8
directory name used the new GCC_TARGET_MACHINE build define which is ${MACHINE_GNU_PLATFORM} by default and already used in gcc47-libs/buildlink3.mk. s/${TARGET_TRIPLE}/${GCC_TARGET_MACHINE}/ Note that because the default for GCC_TARGET_MACHINE _should_ be the same as the 'gcc -dumpmachine' output theres no need for a revbump.
2012-09-25Change the ${_GCC_REQD} reference to fix version number '4.7.0', as thissbd1-3/+2
is the minimum version for gcc47 and gcc47-libs. Remove BUILDLINK_ABI_DEPENDS.gcc47-libs as its now redundant. This fixes the case where USE_PKGSRC_GCC_RUNTIME=yes and gcc-aux is needed (In that case _GCC_REQD is 20120614, the version number of gcc-aux) as pointed out by Jonathan Perkin.
2012-09-15Add a buildlink3.mk for use with USE_PKGSRC_GCC_RUNTIME.sbd1-0/+39
XXX: Using %M requires patched version of gcc (e.g. lang/gcc47) Base on work by Jonathan Perkin.
2012-09-15Only get the gcc machine if gcc existssbd1-2/+2
2012-09-14Add '-q' to the grep command in GENERATE_PLIST.sbd1-2/+2
2012-09-13Create the gcc47-libs package.sbd2-0/+77
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.)