diff options
Diffstat (limited to 'libre-testing/make')
-rw-r--r-- | libre-testing/make/PKGBUILD | 40 | ||||
-rw-r--r-- | libre-testing/make/guile-2.2.patch | 15 |
2 files changed, 55 insertions, 0 deletions
diff --git a/libre-testing/make/PKGBUILD b/libre-testing/make/PKGBUILD new file mode 100644 index 000000000..232ee4560 --- /dev/null +++ b/libre-testing/make/PKGBUILD @@ -0,0 +1,40 @@ +# Maintainer: Allan McRae <allan@archlinux.org> +# Contributor: judd <jvinet@zeroflux.org> + +pkgname=make +pkgver=4.2.1 +pkgrel=2 +pkgdesc="GNU make utility to maintain groups of programs" +arch=('x86_64' 'ppc64le') +url="http://www.gnu.org/software/make" +license=('GPL3') +groups=('base-devel') +depends=('glibc' 'guile') +source=(ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.bz2{,.sig} + guile-2.2.patch) +md5sums=('15b012617e7c44c0ed482721629577ac' + 'SKIP' + '89bbbe3f806f208608e117665feb562b') +validpgpkeys=('3D2554F0A15338AB9AF1BB9D96B047156338B6D4') # Paul Smith + +prepare() { + cd ${pkgname}-${pkgver} + patch -p1 -i ${srcdir}/guile-2.2.patch + autoreconf -fi +} + +build() { + cd ${pkgname}-${pkgver} + ./configure --prefix=/usr + make +} + +check() { + cd ${pkgname}-${pkgver} + make -k check +} + +package() { + cd ${pkgname}-${pkgver} + make DESTDIR=${pkgdir} install +} diff --git a/libre-testing/make/guile-2.2.patch b/libre-testing/make/guile-2.2.patch new file mode 100644 index 000000000..8e4cbc0ff --- /dev/null +++ b/libre-testing/make/guile-2.2.patch @@ -0,0 +1,15 @@ +diff --git a/configure.ac b/configure.ac +index 64ec870..eb1139f 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -168,8 +168,8 @@ AC_ARG_WITH([guile], [AS_HELP_STRING([--with-guile], + # comes with it's own PC file so we have to specify them as individual + # packages. Ugh. + AS_IF([test "x$with_guile" != xno], +-[ PKG_CHECK_MODULES([GUILE], [guile-2.0], [have_guile=yes], +- [PKG_CHECK_MODULES([GUILE], [guile-1.8], [have_guile=yes], ++[ PKG_CHECK_MODULES([GUILE], [guile-2.2], [have_guile=yes], ++ [PKG_CHECK_MODULES([GUILE], [guile-2.0], [have_guile=yes], + [have_guile=no])]) + ]) + |