pkgsrc-WIP-changes archive

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

png-32: Adapt buildlink3.mk to make it work with png-32



Module Name:	pkgsrc-wip
Committed By:	Naveen Narayanan <zerous@nocebo.space>
Pushed By:	zerous
Date:		Tue Jul 9 20:05:29 2019 +0200
Changeset:	ddaf67a620ca429d559f6ca3edb3644676bc0cde

Modified Files:
	png-32/buildlink3.mk

Log Message:
png-32: Adapt buildlink3.mk to make it work with png-32

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

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

diffstat:
 png-32/buildlink3.mk | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diffs:
diff --git a/png-32/buildlink3.mk b/png-32/buildlink3.mk
index 248ce76efe..b1f44f05c2 100644
--- a/png-32/buildlink3.mk
+++ b/png-32/buildlink3.mk
@@ -1,13 +1,14 @@
 # $NetBSD: buildlink3.mk,v 1.27 2013/02/16 11:16:06 wiz Exp $
 
-BUILDLINK_TREE+=	png
+BUILDLINK_TREE+=	compat32_png
 
-.if !defined(PNG_BUILDLINK3_MK)
-PNG_BUILDLINK3_MK:=
+.if !defined(COMPAT32_PNG_BUILDLINK3_MK)
+COMPAT32_PNG_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.png+=	png>=1.2.4
-BUILDLINK_ABI_DEPENDS.png+=	png>=1.6.0nb1
-BUILDLINK_PKGSRCDIR.png?=	../../graphics/png
+BUILDLINK_API_DEPENDS.compat32_png+=	compat32_png>=1.2.4
+BUILDLINK_ABI_DEPENDS.compat32_png+=	compat32_png>=1.6.0nb1
+BUILDLINK_PKGSRCDIR.compat32_png?=	../../wip/png-32
+BUILDLINK_LIBDIRS.compat32_png=		lib/32
 
 # keep this in sync with the same code in Makefile
 .if ${MACHINE_ARCH} != "i386" && ${MACHINE_ARCH} != "x86_64"
@@ -22,6 +23,6 @@ CPPFLAGS+=	-DPNG_NO_ASSEMBLER_CODE
 BUILDLINK_TRANSFORM+=	l:png:png16
 
 .include "../../devel/zlib/buildlink3.mk"
-.endif # PNG_BUILDLINK3_MK
+.endif # COMPAT32_PNG_BUILDLINK3_MK
 
-BUILDLINK_TREE+=	-png
+BUILDLINK_TREE+=	-compat32_png


Home | Main Index | Thread Index | Old Index