[arch-commits] Commit in nauty/trunk (PKGBUILD nauty-ldflags.patch)
Antonio Rojas
arojas at archlinux.org
Tue Oct 15 06:19:36 UTC 2019
Date: Tuesday, October 15, 2019 @ 06:19:36
Author: arojas
Revision: 516029
Update to 26r12
Added:
nauty/trunk/nauty-ldflags.patch
Modified:
nauty/trunk/PKGBUILD
---------------------+
PKGBUILD | 15 +++++++++++----
nauty-ldflags.patch | 22 ++++++++++++++++++++++
2 files changed, 33 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-15 06:12:58 UTC (rev 516028)
+++ PKGBUILD 2019-10-15 06:19:36 UTC (rev 516029)
@@ -1,7 +1,7 @@
# Maintainer: Antonio Rojas <arojas at archlinux.org>
pkgname=nauty
-pkgver=26r11
+pkgver=26r12
pkgrel=1
pkgdesc="A program for computing automorphism groups of graphs and digraphs"
arch=(x86_64)
@@ -8,9 +8,17 @@
url="http://pallini.di.uniroma1.it/"
license=(Apache)
depends=(glibc)
-source=("http://pallini.di.uniroma1.it/nauty$pkgver.tar.gz")
-md5sums=('1db07c9ce1e00baa6640ed58b792b430')
+source=(http://pallini.di.uniroma1.it/nauty$pkgver.tar.gz
+ nauty-ldflags.patch)
+sha256sums=('5854fe051ebe4c892e3b51438d73ea367b4f7bf8d4665682af66ea4a75a356e8'
+ '65e0527b27edd783f23ba3e4f114edd6d54195c4cc453293d140195f8a307f69')
+prepare() {
+ cd nauty$pkgver
+ patch -p1 -i ../nauty-ldflags.patch # Honor LDFLAGS
+ rm showg # Force compilation of showg
+}
+
build() {
cd nauty$pkgver
@@ -32,4 +40,3 @@
mkdir -p "$pkgdir"/usr/share/licenses/nauty
install COPYRIGHT "$pkgdir"/usr/share/licenses/nauty/LICENSE
}
-
Added: nauty-ldflags.patch
===================================================================
--- nauty-ldflags.patch (rev 0)
+++ nauty-ldflags.patch 2019-10-15 06:19:36 UTC (rev 516029)
@@ -0,0 +1,22 @@
+--- nauty26r12/makefile.basic.orig 2019-10-15 06:08:44.730370702 +0000
++++ nauty26r12/makefile.basic 2019-10-15 06:09:06.797358787 +0000
+@@ -337,7 +337,7 @@
+ nautilL1.o naugraphL1.o schreierL.o naurng.o ${LDFLAGS}
+
+ gentreeg : gentreeg.c gtools.o nauty.h gtools.h
+- ${CC} -o gentreeg ${CFLAGS} gentreeg.c gtools.o
++ ${CC} -o gentreeg ${CFLAGS} gentreeg.c gtools.o ${LDFLAGS}
+
+ genrang : ${GTOOLSH} genrang.c gtools.o naututil.o ${NAUTYO}
+ ${CC} -o genrang ${CFLAGS} genrang.c \
+--- nauty26r12/makefile.in.orig 2019-10-15 06:08:37.656934310 +0000
++++ nauty26r12/makefile.in 2019-10-15 06:09:15.337483153 +0000
+@@ -337,7 +337,7 @@
+ nautilL1.o naugraphL1.o schreierL.o naurng.o ${LDFLAGS}
+
+ gentreeg : gentreeg.c gtools.o nauty.h gtools.h
+- ${CC} -o gentreeg ${CFLAGS} gentreeg.c gtools.o
++ ${CC} -o gentreeg ${CFLAGS} gentreeg.c gtools.o ${LDFLAGS}
+
+ genrang : ${GTOOLSH} genrang.c gtools.o naututil.o ${NAUTYO}
+ ${CC} -o genrang ${CFLAGS} genrang.c \
More information about the arch-commits
mailing list