pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

libimagequant: fix some pkglint, update bl3.mk



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%gatalith.at@localhost>
Pushed By:	wiz
Date:		Sun May 7 14:12:22 2023 +0200
Changeset:	d959734ef5f61042e72b6d3a8b9a23c1f4a1c49f

Modified Files:
	libimagequant/Makefile
	libimagequant/buildlink3.mk

Log Message:
libimagequant: fix some pkglint, update bl3.mk

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d959734ef5f61042e72b6d3a8b9a23c1f4a1c49f

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 libimagequant/Makefile      | 2 +-
 libimagequant/buildlink3.mk | 6 ++++--
 2 files changed, 5 insertions(+), 3 deletions(-)

diffs:
diff --git a/libimagequant/Makefile b/libimagequant/Makefile
index ba702bed9c..e63cc87a75 100644
--- a/libimagequant/Makefile
+++ b/libimagequant/Makefile
@@ -18,7 +18,7 @@ INSTALLATION_DIRS=	include lib/pkg-config
 
 post-build:
 	cd ${WRKSRC} && \
-        ${SED} 's|@PREFIX@|$(PREFIX)|;s|@VERSION@|$(VERSION)|' < imagequant.pc.in > imagequant.pc
+        ${SED} 's|@PREFIX@|${PREFIX}|;s|@VERSION@|${VERSION}|' < imagequant.pc.in > imagequant.pc
 
 do-install:
 	${INSTALL_DATA} ${WRKSRC}/libimagequant.h \
diff --git a/libimagequant/buildlink3.mk b/libimagequant/buildlink3.mk
index 7c73af2f65..3ca3d8afae 100644
--- a/libimagequant/buildlink3.mk
+++ b/libimagequant/buildlink3.mk
@@ -1,11 +1,13 @@
-# $NetBSD: buildlink3.mk,v 1.1 2017/01/29 11:57:03 adam Exp $
+# $NetBSD$
 
 BUILDLINK_TREE+=	libimagequant
 
 .if !defined(LIBIMAGEQUANT_BUILDLINK3_MK)
 LIBIMAGEQUANT_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.libimagequant+=	libimagequant>=2.8.2
+BUILDLINK_DEPMETHOD.libimagequant?=	build
+
+BUILDLINK_API_DEPENDS.libimagequant+=	libimagequant>=4.2.0
 BUILDLINK_PKGSRCDIR.libimagequant?=	../../wip/libimagequant
 .endif	# LIBIMAGEQUANT_BUILDLINK3_MK
 


Home | Main Index | Thread Index | Old Index