1 Commits

Author SHA1 Message Date
Jay Larson
88d59e9675 Moved symlinks of library files into correct package (libgcc-dev) 2020-09-27 13:25:13 -05:00

View File

@@ -10,6 +10,7 @@
export SRCPKG = gcc
export DEPENDS = dash,glibc,gmp,libgcc,libstdc++,mpc,mpfr,zlib
export BUILDDEPS = gcc,libgcc-dev
export ARCH = x86_64
export URL = https://gcc.gnu.org/
REPO = dev
@@ -17,7 +18,7 @@ BRIEF = GNU compiler collection
DESC = The GNU Compiler Collection includes front ends for C, C++, \
Objective-C, Fortran, Java, Ada, and Go, as well as libraries for these \
languages (libstdc++, libgcj,...).
SLVER = 4
SLVER = 5
ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1)
TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n')
@@ -107,7 +108,8 @@ $(ROOT): $(BUILDDIR)/gcc
install -v -d -m 755 $(LIBSTDCROOT)/usr/lib && \
mv -v $(ROOT)/usr/lib64/libgcc_s.so* $(LIBGCCROOT)/usr/lib && \
mv -v $(ROOT)/usr/lib64/libstdc++* $(LIBSTDCROOT)/usr/lib && \
for file in `find $(ROOT)/usr/lib64 -type f -maxdepth 1`; do \
for file in `find $(ROOT)/usr/lib64 \( -type f -o -type l \) \
-maxdepth 1`; do \
path=`dirname $$file|sed "s[$(ROOT)[$(LIBGCCDEVROOT)["`; \
mkdir -p $$path; \
mv $$file $$path; \