mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-01-24 02:22:15 +08:00
guile: fix build
This commit is contained in:
parent
33e5deb9d4
commit
089ecef108
22
bdw-gc/PKGBUILD
Normal file
22
bdw-gc/PKGBUILD
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#
|
||||||
|
# Chakra Packages for Chakra, part of chakra-project.org
|
||||||
|
#
|
||||||
|
# contributor (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
|
||||||
|
|
||||||
|
pkgname=bdw-gc
|
||||||
|
pkgver=7.1
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="BDW-GC is a garbage collection library."
|
||||||
|
url="http://www.hpl.hp.com/personal/Hans_Boehm/gc/"
|
||||||
|
arch=(i686 x86_64)
|
||||||
|
license=('Unknown')
|
||||||
|
depends=()
|
||||||
|
source=(http://hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc-${pkgver}.tar.gz)
|
||||||
|
md5sums=('2ff9924c7249ef7f736ecfe6f08f3f9b')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "${srcdir}/gc-${pkgver}"
|
||||||
|
./configure --prefix=/usr
|
||||||
|
make LDFLAGS+="-lpthread"
|
||||||
|
make DESTDIR="${pkgdir}" install
|
||||||
|
}
|
@ -10,7 +10,7 @@ pkgdesc="Guile is a portable, embeddable Scheme implementation written in C"
|
|||||||
url="http://www.gnu.org/software/guile/"
|
url="http://www.gnu.org/software/guile/"
|
||||||
arch=(i686 x86_64)
|
arch=(i686 x86_64)
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
depends=('gmp' 'libtool' 'ncurses>=5.7' 'texinfo')
|
depends=('gmp' 'libtool' 'ncurses>=5.7' 'texinfo' 'libunistring' 'libffi' 'bdw-gc')
|
||||||
install=guile.install
|
install=guile.install
|
||||||
source=(ftp://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz)
|
source=(ftp://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz)
|
||||||
options=('!libtool' '!makeflags')
|
options=('!libtool' '!makeflags')
|
||||||
|
@ -1,21 +0,0 @@
|
|||||||
diff -Naur guile-1.8.7-orig/scripts/snarf-check-and-output-texi guile-1.8.7/scripts/snarf-check-and-output-texi
|
|
||||||
--- guile-1.8.7-orig/scripts/snarf-check-and-output-texi 2009-07-03 22:19:00.000000000 +0000
|
|
||||||
+++ guile-1.8.7/scripts/snarf-check-and-output-texi 2010-11-20 17:34:34.283333394 +0000
|
|
||||||
@@ -267,6 +267,17 @@
|
|
||||||
(set! *file* file)
|
|
||||||
(set! *line* line))
|
|
||||||
|
|
||||||
+ ;; newer gccs like to throw around more location markers into the
|
|
||||||
+ ;; preprocessed source; these (hash . hash) bits are what they translate to
|
|
||||||
+ ;; in snarfy terms.
|
|
||||||
+ (('location ('string . file) ('int . line) ('hash . 'hash))
|
|
||||||
+ (set! *file* file)
|
|
||||||
+ (set! *line* line))
|
|
||||||
+
|
|
||||||
+ (('location ('hash . 'hash) ('string . file) ('int . line) ('hash . 'hash))
|
|
||||||
+ (set! *file* file)
|
|
||||||
+ (set! *line* line))
|
|
||||||
+
|
|
||||||
(('arglist rest ...)
|
|
||||||
(set! *args* (do-arglist rest)))
|
|
||||||
|
|
39
libunistring/PKGBUILD
Normal file
39
libunistring/PKGBUILD
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
#
|
||||||
|
# Chakra Packages for Chakra, part of chakra-project.org
|
||||||
|
#
|
||||||
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
||||||
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||||||
|
|
||||||
|
pkgname=libunistring
|
||||||
|
pkgver=0.9
|
||||||
|
pkgrel=1
|
||||||
|
# dash the next line if you want to skip the tests
|
||||||
|
_test=1
|
||||||
|
pkgdesc="Unicode string library for C"
|
||||||
|
arch=('any')
|
||||||
|
url="http://www.gnu.org/software/libunistring/"
|
||||||
|
license=('GPL')
|
||||||
|
makedepends=('dejagnu')
|
||||||
|
options=('!libtool' 'log')
|
||||||
|
source=(http://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz)
|
||||||
|
md5sums=('3263ae4966e6e58b06d5d6d544bcf1a8')
|
||||||
|
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "$srcdir/$pkgname-$pkgver"
|
||||||
|
|
||||||
|
./configure --prefix=/usr
|
||||||
|
make
|
||||||
|
|
||||||
|
if [ -n "${_test}" ]; then
|
||||||
|
echo "<<< STARTING TESTS >>>"
|
||||||
|
make check
|
||||||
|
echo "<<< ENDING TESTS >>>"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "$srcdir/$pkgname-$pkgver"
|
||||||
|
|
||||||
|
make -j1 DESTDIR="$pkgdir/" install
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user