summaryrefslogtreecommitdiff
path: root/libopeniscsiusr/Makefile
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-04-03 03:34:48 +0100
committerSam James <sam@gentoo.org>2022-04-06 01:20:42 +0100
commitddcc4334c0c89547452510cd07046088c4839950 (patch)
treeb0c11817bb9871534388e92831276f305e04cb63 /libopeniscsiusr/Makefile
parentd8858f94a944cb723ca897baac747a01643738e7 (diff)
downloadopen-iscsi-ddcc4334c0c89547452510cd07046088c4839950.tar.gz
libopeniscsiusr: fix version in installed pkgconfig (.pc) file
Looks like a typo from libnvme. Previously, the installed .pc file had a blank Version field. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'libopeniscsiusr/Makefile')
-rw-r--r--libopeniscsiusr/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/libopeniscsiusr/Makefile b/libopeniscsiusr/Makefile
index dc3959e..9b044cd 100644
--- a/libopeniscsiusr/Makefile
+++ b/libopeniscsiusr/Makefile
@@ -89,7 +89,7 @@ install: $(LIBS) $(LIBS_MAJOR)
ln -sf $(LIBS) $(DESTDIR)/$(LIB_DIR)/$(LIBS_MAJOR)
$(INSTALL) $(HEADERS) $(DESTDIR)$(INCLUDE_DIR)/
$(INSTALL) -m 644 -D $(PKGFILE).in $(DESTDIR)$(PKGCONF_DIR)/$(PKGFILE)
- perl -i -pe 's|__VERSION__|$(LIBNVME_VERSION)|g' \
+ perl -i -pe 's|__VERSION__|$(LIBISCSI_USR_VERSION)|g' \
$(DESTDIR)$(PKGCONF_DIR)/$(PKGFILE)
perl -i -pe 's|__LIB_DIR__|$(LIB_DIR)|g' \
$(DESTDIR)$(PKGCONF_DIR)/$(PKGFILE)