File no_buildroot_shared.diff of Package lvm2.3105

Index: LVM2.2.02.111/tools/Makefile.in
===================================================================
--- LVM2.2.02.111.orig/tools/Makefile.in
+++ LVM2.2.02.111/tools/Makefile.in
@@ -110,7 +110,7 @@ LVMLIBS += -ldevmapper
 EXPORTED_HEADER = $(srcdir)/lvm2cmd.h
 EXPORTED_FN_PREFIX = lvm2
 
-DEFS += -DLVM_SHARED_PATH=\"$(exec_prefix)/sbin/lvm\"
+DEFS += -DLVM_SHARED_PATH=\"/sbin/lvm\"
 
 CFLOW_LIST = lvmcmdlib.c lvm2cmd.c
 CFLOW_LIST_TARGET = liblvm2cmd.cflow
openSUSE Build Service is sponsored by