File: Set-the-right-.pc-version.patch

package info (click to toggle)
mujs 1.3.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 716 kB
  • sloc: ansic: 16,670; makefile: 137; sh: 121; javascript: 109; python: 66
file content (22 lines) | stat: -rw-r--r-- 636 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Bastian Germann <bage@debian.org>
Date: Wed, 17 Jun 2020 01:17:04 +0200
Subject: Set the right .pc version

Forwarded: not-needed
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 889f706..d18337d 100644
--- a/Makefile
+++ b/Makefile
@@ -94,7 +94,7 @@ $(OUT)/mujs.pc:
 	@ echo Creating $@
 	@ echo > $@ Name: mujs
 	@ echo >> $@ Description: MuJS embeddable Javascript interpreter
-	@ echo >> $@ Version: $(VERSION)
+	@ echo >> $@ Version: $(DEB_VERSION_UPSTREAM)
 	@ echo >> $@ Cflags: -I$(incdir)
 	@ echo >> $@ Libs: -L$(libdir) -lmujs
 	@ echo >> $@ Libs.private: -lm