Memo to self: fedpkg commit does not include new patches
This commit is contained in:
parent
74cdd76263
commit
2337e6365c
44
varnish-0.15.0.add.bootstrap.patch
Normal file
44
varnish-0.15.0.add.bootstrap.patch
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
--- /dev/null 2019-09-18 14:09:23.308277474 +0200
|
||||||
|
+++ bootstrap 2019-09-24 09:55:24.218322744 +0200
|
||||||
|
@@ -0,0 +1,41 @@
|
||||||
|
+#!/bin/sh
|
||||||
|
+
|
||||||
|
+warn() {
|
||||||
|
+ echo "WARNING: $@" 1>&2
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+case `uname -s` in
|
||||||
|
+Darwin)
|
||||||
|
+ LIBTOOLIZE=glibtoolize
|
||||||
|
+ ;;
|
||||||
|
+FreeBSD)
|
||||||
|
+ LIBTOOLIZE=libtoolize
|
||||||
|
+ ;;
|
||||||
|
+Linux)
|
||||||
|
+ LIBTOOLIZE=libtoolize
|
||||||
|
+ ;;
|
||||||
|
+SunOS)
|
||||||
|
+ LIBTOOLIZE=libtoolize
|
||||||
|
+ ;;
|
||||||
|
+*)
|
||||||
|
+ warn "unrecognized platform:" `uname -s`
|
||||||
|
+ LIBTOOLIZE=libtoolize
|
||||||
|
+esac
|
||||||
|
+
|
||||||
|
+# check for varnishapi.m4 in custom paths
|
||||||
|
+dataroot=$(pkg-config --variable=datarootdir varnishapi 2>/dev/null)
|
||||||
|
+if [ -z "$dataroot" ] ; then
|
||||||
|
+ cat >&2 <<'EOF'
|
||||||
|
+Package varnishapi was not found in the pkg-config search path.
|
||||||
|
+Perhaps you should add the directory containing `varnishapi.pc'
|
||||||
|
+to the PKG_CONFIG_PATH environment variable
|
||||||
|
+EOF
|
||||||
|
+ exit 1
|
||||||
|
+fi
|
||||||
|
+set -ex
|
||||||
|
+mkdir -p m4
|
||||||
|
+aclocal -I m4 -I ${dataroot}/aclocal
|
||||||
|
+$LIBTOOLIZE --copy --force
|
||||||
|
+autoheader
|
||||||
|
+automake --add-missing --copy --foreign
|
||||||
|
+autoconf
|
Loading…
Reference in New Issue
Block a user