summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorXiretza2020-09-28 20:14:49 +0200
committerXiretza2020-09-28 20:14:49 +0200
commit5abf92285b88c3d116b2a79947c10c235731a8de (patch)
tree7edfbd89bd615745897d4da7474b88e051ae142c
parent2222b6f509067eb2d343e664644aac132d1eca65 (diff)
downloadaur-5abf92285b88c3d116b2a79947c10c235731a8de.tar.gz
Patch even more lines in configure script
The default DEBUG_CFLAGS contain '/', which breaks the sed expression. Use '#' everywhere, which hopefully shouldn't occur anywhere ever.
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD15
-rw-r--r--configure-sh-commas-in-cflags.patch45
3 files changed, 32 insertions, 32 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b0079f2e4d23..5506c13a89ef 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = aiger
pkgdesc = A format, library and set of utilities for And-Inverter Graphs (AIGs)
pkgver = 1.9.9
- pkgrel = 1
+ pkgrel = 2
url = http://fmv.jku.at/aiger/
arch = x86_64
license = MIT
@@ -11,7 +11,7 @@ pkgbase = aiger
source = configure-sh-commas-in-cflags.patch
sha256sums = 1e50d3db36f5dc5ed0e57aa4c448b9bcf82865f01736dde1f32f390b780350c7
sha256sums = 7103083de75ad6af76ee5272ba3c372741ccf1bcbd88fee6902eba8f2a0e416e
- sha256sums = a43096303e4f94c02eda74534056cfd8e31375aaf3d64635cbf062625e61b072
+ sha256sums = e7abca2a8ed4a3fd36d8b65c2b9e7ab79210729f23b3130c5065f4c1b1ec1234
pkgname = aiger
diff --git a/PKGBUILD b/PKGBUILD
index c8be28f845d6..9961900d5f82 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,28 +1,17 @@
# Maintainer: xiretza <xiretza+aur@gmail.com>
pkgname=aiger
pkgver=1.9.9
-pkgrel=1
+pkgrel=2
pkgdesc="A format, library and set of utilities for And-Inverter Graphs (AIGs)"
arch=(x86_64)
url="http://fmv.jku.at/aiger/"
license=('MIT' 'BSD')
-depends=()
-makedepends=()
-checkdepends=()
-optdepends=()
-provides=()
-conflicts=()
-replaces=()
-backup=()
-options=()
-install=
-changelog=
source=("http://fmv.jku.at/aiger/$pkgname-$pkgver.tar.gz"
"makefile-install.patch"
"configure-sh-commas-in-cflags.patch")
sha256sums=('1e50d3db36f5dc5ed0e57aa4c448b9bcf82865f01736dde1f32f390b780350c7'
'7103083de75ad6af76ee5272ba3c372741ccf1bcbd88fee6902eba8f2a0e416e'
- 'a43096303e4f94c02eda74534056cfd8e31375aaf3d64635cbf062625e61b072')
+ 'e7abca2a8ed4a3fd36d8b65c2b9e7ab79210729f23b3130c5065f4c1b1ec1234')
prepare() {
cd "$pkgname-$pkgver"
diff --git a/configure-sh-commas-in-cflags.patch b/configure-sh-commas-in-cflags.patch
index 57baf7dea748..948826e8a9c5 100644
--- a/configure-sh-commas-in-cflags.patch
+++ b/configure-sh-commas-in-cflags.patch
@@ -1,26 +1,37 @@
-diff -u a/configure.sh b/configure.sh
---- a/configure.sh 2014-05-20 21:48:17.000000000 +0200
-+++ b/configure.sh 2020-04-20 01:40:55.999879286 +0200
-@@ -138,14 +138,14 @@
- -e "s/@CFLAGS@/$CFLAGS/" \
- -e "s/@AIGBMCTARGET@/$AIGBMCTARGET/" \
- -e "s/@AIGBMCTARGET@/$AIGBMCTARGET/" \
+diff --git a/configure.sh b/configure.sh
+index 3e7de47..7946e71 100755
+--- a/configure.sh
++++ b/configure.sh
+@@ -134,18 +134,18 @@ fi
+ msg "compiling with: $CC $CFLAGS"
+ rm -f makefile
+ sed \
+- -e "s/@CC@/$CC/" \
+- -e "s/@CFLAGS@/$CFLAGS/" \
+- -e "s/@AIGBMCTARGET@/$AIGBMCTARGET/" \
+- -e "s/@AIGBMCTARGET@/$AIGBMCTARGET/" \
- -e "s,@AIGBMCHDEPS@,$AIGBMCHDEPS," \
- -e "s,@AIGBMCODEPS@,$AIGBMCODEPS," \
- -e "s,@AIGBMCLIBS@,$AIGBMCLIBS," \
- -e "s,@AIGBMCFLAGS@,$AIGBMCFLAGS," \
-+ -e "s#@AIGBMCHDEPS@#$AIGBMCHDEPS#" \
-+ -e "s#@AIGBMCODEPS@#$AIGBMCODEPS#" \
-+ -e "s#@AIGBMCLIBS@#$AIGBMCLIBS#" \
-+ -e "s#@AIGBMCFLAGS@#$AIGBMCFLAGS#" \
- -e "s/@AIGDEPTARGET@/$AIGDEPTARGET/" \
- -e "s/@AIGDEPTARGET@/$AIGDEPTARGET/" \
+- -e "s/@AIGDEPTARGET@/$AIGDEPTARGET/" \
+- -e "s/@AIGDEPTARGET@/$AIGDEPTARGET/" \
- -e "s,@AIGDEPHDEPS@,$AIGDEPHDEPS," \
- -e "s,@AIGDEPCODEPS@,$AIGDEPCODEPS," \
- -e "s,@AIGDEPLIBS@,$AIGDEPLIBS," \
- -e "s,@AIGDEPFLAGS@,$AIGDEPFLAGS," \
-+ -e "s#@AIGDEPHDEPS@#$AIGDEPHDEPS#" \
-+ -e "s#@AIGDEPCODEPS@#$AIGDEPCODEPS#" \
-+ -e "s#@AIGDEPLIBS@#$AIGDEPLIBS#" \
-+ -e "s#@AIGDEPFLAGS@#$AIGDEPFLAGS#" \
++ -e "s#@CC@#$CC#" \
++ -e "s#@CFLAGS@#$CFLAGS#" \
++ -e "s#@AIGBMCTARGET@#$AIGBMCTARGET#" \
++ -e "s#@AIGBMCTARGET@#$AIGBMCTARGET#" \
++ -e "s#@AIGBMCHDEPS@#g$AIGBMCHDEPS#g" \
++ -e "s#@AIGBMCODEPS@#g$AIGBMCODEPS#g" \
++ -e "s#@AIGBMCLIBS@#g$AIGBMCLIBS#g" \
++ -e "s#@AIGBMCFLAGS@#g$AIGBMCFLAGS#g" \
++ -e "s#@AIGDEPTARGET@#$AIGDEPTARGET#" \
++ -e "s#@AIGDEPTARGET@#$AIGDEPTARGET#" \
++ -e "s#@AIGDEPHDEPS@#g$AIGDEPHDEPS#g" \
++ -e "s#@AIGDEPCODEPS@#g$AIGDEPCODEPS#g" \
++ -e "s#@AIGDEPLIBS@#g$AIGDEPLIBS#g" \
++ -e "s#@AIGDEPFLAGS@#g$AIGDEPFLAGS#g" \
makefile.in > makefile