pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/libvterm01
Module Name: pkgsrc
Committed By: nia
Date: Thu Apr 21 07:14:12 UTC 2022
Modified Files:
pkgsrc/devel/libvterm01: Makefile PLIST buildlink3.mk
Log Message:
libvterm01: Fix handling of versioned .pc file. Should fix neovim.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/libvterm01/Makefile \
pkgsrc/devel/libvterm01/PLIST pkgsrc/devel/libvterm01/buildlink3.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/libvterm01/Makefile
diff -u pkgsrc/devel/libvterm01/Makefile:1.1 pkgsrc/devel/libvterm01/Makefile:1.2
--- pkgsrc/devel/libvterm01/Makefile:1.1 Wed Apr 20 17:14:20 2022
+++ pkgsrc/devel/libvterm01/Makefile Thu Apr 21 07:14:12 2022
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1 2022/04/20 17:14:20 nia Exp $
+# $NetBSD: Makefile,v 1.2 2022/04/21 07:14:12 nia Exp $
DISTNAME= libvterm-0.1.4
PKGNAME= ${DISTNAME:S/libvterm/libvterm01/g}
+PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= https://www.leonerd.org.uk/code/libvterm/
@@ -23,4 +24,10 @@ INSTALL_TARGET= install-lib install-inc
PKGCONFIG_OVERRIDE+= vterm.pc.in
+INSTALLATION_DIRS+= lib/pkgconfig
+
+post-install:
+ ${MV} ${DESTDIR}${PREFIX}/lib/libvterm01/pkgconfig/vterm.pc \
+ ${DESTDIR}${PREFIX}/lib/pkgconfig/vterm01.pc
+
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/libvterm01/PLIST
diff -u pkgsrc/devel/libvterm01/PLIST:1.1 pkgsrc/devel/libvterm01/PLIST:1.2
--- pkgsrc/devel/libvterm01/PLIST:1.1 Wed Apr 20 17:14:20 2022
+++ pkgsrc/devel/libvterm01/PLIST Thu Apr 21 07:14:12 2022
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1 2022/04/20 17:14:20 nia Exp $
+@comment $NetBSD: PLIST,v 1.2 2022/04/21 07:14:12 nia Exp $
include/libvterm01/vterm.h
include/libvterm01/vterm_keycodes.h
lib/libvterm01/libvterm.la
-lib/libvterm01/pkgconfig/vterm.pc
+lib/pkgconfig/vterm01.pc
Index: pkgsrc/devel/libvterm01/buildlink3.mk
diff -u pkgsrc/devel/libvterm01/buildlink3.mk:1.1 pkgsrc/devel/libvterm01/buildlink3.mk:1.2
--- pkgsrc/devel/libvterm01/buildlink3.mk:1.1 Wed Apr 20 17:14:20 2022
+++ pkgsrc/devel/libvterm01/buildlink3.mk Thu Apr 21 07:14:12 2022
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.1 2022/04/20 17:14:20 nia Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2022/04/21 07:14:12 nia Exp $
BUILDLINK_TREE+= libvterm01
@@ -6,9 +6,16 @@ BUILDLINK_TREE+= libvterm01
LIBVTERM01_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.libvterm01+= libvterm01>=0.0.0
+BUILDLINK_ABI_DEPENDS.libvterm01+= libvterm01>=0.1.4nb1
BUILDLINK_PKGSRCDIR.libvterm01?= ../../devel/libvterm01
-BUILDLINK_INCDIRS.libvterm01?= include/libvterm01
-BUILDLINK_LIBDIRS.libvterm01?= lib/libvterm01
+BUILDLINK_INCDIRS.libvterm01+= include/libvterm01
+BUILDLINK_LIBDIRS.libvterm01+= lib/libvterm01
+
+BUILDLINK_TARGETS+= buildlink-vterm-unversioned
+
+buildlink-vterm-unversioned:
+ ${LN} -s ${BUILDLINK_DIR}/lib/pkgconfig/vterm01.pc \
+ ${BUILDLINK_DIR}/lib/pkgconfig/vterm.pc
.endif # LIBVTERM01_BUILDLINK3_MK
Home |
Main Index |
Thread Index |
Old Index