Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
uplex-varnish-dpkg
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
uplex-varnish-dpkg
Commits
6ff79c93
Commit
6ff79c93
authored
Apr 29, 2022
by
Julian Wiesener
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Workaround for a breaking change in GNU make 4.3. for libvmod-re2
parent
5dc3b621
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
6 deletions
+15
-6
rules
dpkg/libvmod-re2/debian/rules
+15
-6
No files found.
dpkg/libvmod-re2/debian/rules
View file @
6ff79c93
...
@@ -4,12 +4,21 @@ DH_VERBOSE=1
...
@@ -4,12 +4,21 @@ DH_VERBOSE=1
export RE2_CFLAGS=-pthread
export RE2_CFLAGS=-pthread
export RE2_LIBS=-pthread -lre2
export RE2_LIBS=-pthread -lre2
VMOD_ABI = $(shell printf '\#include "vrt.h"\nvarnishabi- VRT_MAJOR_VERSION . VRT_MINOR_VERSION\n' \
# Workaround for a breaking change in GNU make 4.3.
| cpp - $(shell pkg-config --cflags varnishapi) \
H := \#
| sed -e '/^varnishabi-/!d' -e 's/U//g' -e 's/ //g')
VMOD_strictABI = $(shell printf '\#include "vmod_abi.h"\nVMOD_ABI_Version\n' \
# Extract VMOD_ABI version, this is used for building vmods using the official
| cpp - $(shell pkg-config --cflags varnishapi) \
# VMOD API
| sed -e '/^"/!d' -e 's/\"//g' -e 's/^.* /varnishabi-strict-/')
VMOD_ABI = $(shell printf '$(H)include "vdef.h"\n$(H)include "vrt.h"\nvarnishabi- VRT_MAJOR_VERSION . VRT_MINOR_VERSION\n' \
| cpp - -Iinclude \
| sed -e '/^varnishabi-/!d' -e 's/U//g' -e 's/ //g')
# Extract VMOD_strictABI, which refers to the exact build of varnish. This is
# used for old style vmods bypassing the VMOD API, accessing the internal data
# structures directly.
VMOD_strictABI = $(shell printf '$(H)include "vcs_version.h"\nVCS_Version\n' \
| cpp - -Iinclude \
| sed -e '/^"/!d' -e 's/\"//g' -e 's/^/varnishabi-strict-/')
override_dh_auto_configure:
override_dh_auto_configure:
./autogen.sh
./autogen.sh
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment