diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2012-01-09 13:47:51 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2012-01-09 13:47:51 +0000 |
commit | 7a3611f5caa5e34c1f2b582640f97b733110ae63 (patch) | |
tree | 5b0baf1ad1b36444ffbf73707a377b15fc67692f /community/ghdl | |
parent | 46783b68621b6ad45cdd9ed64cfa8cdcfbc6f318 (diff) |
Mon Jan 9 13:47:49 UTC 2012
Diffstat (limited to 'community/ghdl')
-rw-r--r-- | community/ghdl/PKGBUILD | 60 | ||||
-rw-r--r-- | community/ghdl/gcc_pure64.patch | 24 |
2 files changed, 0 insertions, 84 deletions
diff --git a/community/ghdl/PKGBUILD b/community/ghdl/PKGBUILD deleted file mode 100644 index 24e3e88be..000000000 --- a/community/ghdl/PKGBUILD +++ /dev/null @@ -1,60 +0,0 @@ -# Maintainer: Thomas Dziedzic < gostrc at gmail > -# Contributor: Andrej Gelenberg <andrej.gelenberg@udo.edu> -# Contributor: Matt Portas <matt.r.portas(at)gmail(dot)com> - -pkgname=ghdl -_gccver=4.3.4 -pkgver=0.29 -pkgrel=4 -arch=('i686' 'x86_64') -pkgdesc='A complete VHDL simulator, using GCC technology.' -url='http://ghdl.free.fr/' -license=('GPL') -depends=('mpfr') -makedepends=('gcc-ada') -source=("http://ghdl.free.fr/${pkgname}-${pkgver}.tar.bz2" - "ftp://gcc.gnu.org/pub/gcc/releases/gcc-${_gccver}/gcc-core-${_gccver}.tar.bz2" - 'gcc_pure64.patch') -md5sums=('fd3dc7a71ba521e442bef76f48177767' - '575b3220bb8e7060939c429fc8608d22' - '22cec272f9cc2801d3cd348feaca888b') - -build() { - mv ${pkgname}-${pkgver}/vhdl gcc-${_gccver}/gcc - - cd gcc-$_gccver - - if [ ${CARCH} = 'x86_64' ]; then - patch -Np1 -i ${srcdir}/gcc_pure64.patch - fi - - ./configure \ - --prefix=/usr \ - --infodir=/usr/share/info \ - --libdir=/usr/lib \ - --libexecdir=/usr/lib \ - --mandir=/usr/share/man \ - --enable-clocale=gnu \ - --enable-languages=vhdl \ - --enable-threads=posix \ - --enable-__cxa_atexit \ - --disable-bootstrap \ - --disable-libstdcxx-pch \ - --disable-multilib - - make -j1 -} - -package() { - cd gcc-${_gccver} - - make -j1 DESTDIR=${pkgdir} install - - # Clean up - rm ${pkgdir}/usr/bin/{cpp,gcc{,bug},gcov,${CHOST}-gcc{,-${_gccver}}} - rm ${pkgdir}/usr/share/man/man1/{cpp,gcc,gcov}.1 - rm ${pkgdir}/usr/share/man/man7/{fsf-funding,gfdl,gpl}.7 - rm ${pkgdir}/usr/share/info/{cpp{,internals},gcc{,install,int},libgomp}.info - rm ${pkgdir}/usr/lib/lib{iberty.a,gcc_s*,gomp*,mudflap*,ssp*} - rm -r ${pkgdir}/usr/{include,share/locale} -} diff --git a/community/ghdl/gcc_pure64.patch b/community/ghdl/gcc_pure64.patch deleted file mode 100644 index 8c6b08171..000000000 --- a/community/ghdl/gcc_pure64.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -Naur gcc-4.2.0.orig/gcc/config/i386/linux64.h gcc-4.2.0/gcc/config/i386/linux64.h ---- gcc-4.2.0.orig/gcc/config/i386/linux64.h 2007-05-16 19:21:19.000000000 -0400 -+++ gcc-4.2.0/gcc/config/i386/linux64.h 2007-05-18 17:04:05.000000000 -0400 -@@ -49,7 +49,7 @@ - done. */ - - #define GLIBC_DYNAMIC_LINKER32 "/lib/ld-linux.so.2" --#define GLIBC_DYNAMIC_LINKER64 "/lib64/ld-linux-x86-64.so.2" -+#define GLIBC_DYNAMIC_LINKER64 "/lib/ld-linux-x86-64.so.2" - - #undef LINK_SPEC - #define LINK_SPEC "%{!m32:-m elf_x86_64} %{m32:-m elf_i386} \ -diff -Naur gcc-4.2.0.orig/gcc/config/i386/t-linux64 gcc-4.2.0/gcc/config/i386/t-linux64 ---- gcc-4.2.0.orig/gcc/config/i386/t-linux64 2007-05-16 19:21:19.000000000 -0400 -+++ gcc-4.2.0/gcc/config/i386/t-linux64 2007-05-18 17:04:36.000000000 -0400 -@@ -6,7 +6,7 @@ - - MULTILIB_OPTIONS = m64/m32 - MULTILIB_DIRNAMES = 64 32 --MULTILIB_OSDIRNAMES = ../lib64 $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib) -+MULTILIB_OSDIRNAMES = ../lib ../lib32 - - LIBGCC = stmp-multilib - INSTALL_LIBGCC = install-multilib |