summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Yao <ryao@gentoo.org>2012-12-02 16:48:50 -0500
committerRichard Yao <ryao@cs.stonybrook.edu>2012-12-02 16:55:22 -0500
commitbfbd4ee14e2f7c2f7521472deb0d107606b2250f (patch)
tree97b465fe25229f7e6666727040a2e3a1372fd1ae
parent6d5b7d8deef37f8049c88dbbe8a36e362a9172ad (diff)
Use udev version instead of eudev version for compatibility
The use of the eudev version in pkgconfig files caused build failures, so we switch to the udev version for compatibility purposes. Resolves gentoo/eudev#22 Signed-off-by: Richard Yao <ryao@gentoo.org>
-rw-r--r--configure.ac1
-rw-r--r--docs/gudev/version.xml.in2
-rw-r--r--docs/libudev/version.xml.in2
-rw-r--r--src/gudev/gudev-1.0.pc.in2
-rw-r--r--src/libudev/libudev.pc.in2
-rw-r--r--src/udev/udev.pc.in2
6 files changed, 6 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac
index b85f7b3c83..cf30b1bd78 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,6 +1,7 @@
AC_PREREQ([2.68])
AC_INIT([eudev],[0.1],[https://github.com/gentoo/eudev/issues])
+AC_SUBST(UDEV_VERSION, 195)
AC_CONFIG_SRCDIR([src/udev/udevd.c])
AC_USE_SYSTEM_EXTENSIONS
diff --git a/docs/gudev/version.xml.in b/docs/gudev/version.xml.in
index d78bda9342..0a772805a8 100644
--- a/docs/gudev/version.xml.in
+++ b/docs/gudev/version.xml.in
@@ -1 +1 @@
-@VERSION@
+@UDEV_VERSION@
diff --git a/docs/libudev/version.xml.in b/docs/libudev/version.xml.in
index d78bda9342..0a772805a8 100644
--- a/docs/libudev/version.xml.in
+++ b/docs/libudev/version.xml.in
@@ -1 +1 @@
-@VERSION@
+@UDEV_VERSION@
diff --git a/src/gudev/gudev-1.0.pc.in b/src/gudev/gudev-1.0.pc.in
index 058262d767..b398baf0c4 100644
--- a/src/gudev/gudev-1.0.pc.in
+++ b/src/gudev/gudev-1.0.pc.in
@@ -5,7 +5,7 @@ includedir=@includedir@
Name: gudev-1.0
Description: GObject bindings for libudev
-Version: @VERSION@
+Version: @UDEV_VERSION@
Requires: glib-2.0, gobject-2.0
Libs: -L${libdir} -lgudev-1.0
Cflags: -I${includedir}/gudev-1.0
diff --git a/src/libudev/libudev.pc.in b/src/libudev/libudev.pc.in
index dad7139c85..8279ccf04a 100644
--- a/src/libudev/libudev.pc.in
+++ b/src/libudev/libudev.pc.in
@@ -12,7 +12,7 @@ includedir=@includedir@
Name: libudev
Description: Library to access udev device information
-Version: @VERSION@
+Version: @UDEV_VERSION@
Libs: -L${libdir} -ludev -lrt
Libs.private:
Cflags: -I${includedir}
diff --git a/src/udev/udev.pc.in b/src/udev/udev.pc.in
index 2079574684..092f1c6ed0 100644
--- a/src/udev/udev.pc.in
+++ b/src/udev/udev.pc.in
@@ -4,4 +4,4 @@ udevdir=@udevlibexecdir@
Name: udev
Description: Part of eudev
-Version: @VERSION@
+Version: @UDEV_VERSION@