gdc: 0.23 -> 0.24
This commit is contained in:
parent
d36775ff01
commit
816352b532
@ -1,5 +1,5 @@
|
||||
2af3fb599635219171c6ae1f3034888a gcc-core-4.1.2.tar.bz2
|
||||
75c6d5fa3415d614314caf0f509e8933 gcc-g++-4.1.2.tar.bz2
|
||||
facee49bd9f7b3c586d4ed96e9682ead gdc-0.23-src.tar.bz2
|
||||
aa4433729015d8b6e7183ab9528ba77c gdc-0.24-src.tar.bz2
|
||||
30e33e6ecedfc346f48240589414aa92 gdc-4.1.2-fixinc.patch
|
||||
36fb6ec15a5f2a6572da0b02a3cf9d66 gdc-4.1.2-nocheck-fixincludes.patch
|
||||
|
16
gdc/Pkgfile
16
gdc/Pkgfile
@ -5,7 +5,7 @@
|
||||
# Depends on:
|
||||
|
||||
name=gdc
|
||||
version=0.23
|
||||
version=0.24
|
||||
gcc_version=4.1.2
|
||||
release=1
|
||||
source=(http://dl.sourceforge.net/sourceforge/dgcc/gdc-$version-src.tar.bz2 \
|
||||
@ -44,12 +44,10 @@ build() {
|
||||
make check
|
||||
make DESTDIR=$PKG install
|
||||
|
||||
# remove un-needed files
|
||||
find $PKG -name 'README' -exec rm {} \;
|
||||
|
||||
rm \
|
||||
$PKG/usr/lib/libiberty.a \
|
||||
$PKG/usr/bin/*-linux-gnu-* \
|
||||
$PKG/usr/lib/gcc/*/$gcc_version/include/README \
|
||||
$PKG/usr/man/man1/{cpp,gcc,gcov}.1
|
||||
|
||||
rm -r \
|
||||
@ -58,9 +56,11 @@ build() {
|
||||
$PKG/usr/man/man7
|
||||
|
||||
# remove files already on the system out of the port
|
||||
for i in $(find $PKG | sed -e "s|$PKG|/|"); do
|
||||
if [ -e "$i" ] && [ ! -d "$i" ] ; then
|
||||
rm $PKG/$i
|
||||
for i in $(pkginfo -l gcc |sed -e "s|^|/|"); do
|
||||
if [ -e "$i" ] && [ ! -d "$i" ]; then
|
||||
if [ -e "$PKG$i" ]; then
|
||||
rm "$PKG$i"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
@ -68,7 +68,7 @@ build() {
|
||||
find $PKG -depth -empty -exec rm -r {} \;
|
||||
|
||||
# remove build paths from *.la files
|
||||
for i in `find $PKG -name '*.la' | sed -e "s|$PKG|/|"`; do
|
||||
for i in $(find $PKG -name '*.la' | sed -e "s|$PKG|/|"); do
|
||||
sed -i "s|-L$SRC[^ ]* ||g" $PKG/$i
|
||||
done
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user