aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/botan.pc.in
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-07-01 21:59:19 +0000
committerlloyd <[email protected]>2009-07-01 21:59:19 +0000
commit21308960d04c28e90ee63485b4d95636f4fe9240 (patch)
tree10fff059d3ad0127f20f61001dce1c6be808ada1 /src/build-data/botan.pc.in
parent461602d1d2662cdad9f898bc350d9074b267cc6a (diff)
Change the makefile template language somewhat. Previously variables
had been denoted with @{var:NAME}, this has changed to %{NAME}. This is pretty much a wash for configure.pl but it makes it much easier to process the templates using Python's string.Template. The logic being the 'var:' prefix had been to support conditional statements in the templates (using an 'if:' prefix), but this functionality was not being used and support for it is removed from configure.pl in this revision. For a similiar reason, rename a number of template variables with hyphens in their name to use underscores instead. This is slightly more consistent anyway (since many variable names had already used _ instead of -) but more importantly makes them much easier to deal with using aforementioned Python template code. This should not result in any user-visible change (unless I messed up).
Diffstat (limited to 'src/build-data/botan.pc.in')
-rw-r--r--src/build-data/botan.pc.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/build-data/botan.pc.in b/src/build-data/botan.pc.in
index 6fbf43862..70ed65d70 100644
--- a/src/build-data/botan.pc.in
+++ b/src/build-data/botan.pc.in
@@ -1,12 +1,12 @@
-prefix=@{var:prefix}
+prefix=%{prefix}
exec_prefix=${prefix}
-libdir=${prefix}/@{var:libdir}
+libdir=${prefix}/%{libdir}
includedir=${prefix}/include
Name: Botan
Description: Multi-platform C++ crypto library
-Version: @{var:version}
+Version: %{version}
Libs: -L${libdir} -lbotan
-Libs.private: @{var:link_to}
+Libs.private: %{link_to}
Cflags: -I${includedir}