pkgsrc-WIP-changes archive

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

lcms2-32: Add buildlink3.mk



Module Name:	pkgsrc-wip
Committed By:	Naveen Narayanan <zerous@nocebo.space>
Pushed By:	zerous
Date:		Thu Jul 11 18:53:41 2019 +0200
Changeset:	8d37d32729a379b6daf25fa1544c423b0524786a

Added Files:
	lcms2-32/buildlink3.mk

Log Message:
lcms2-32: Add buildlink3.mk

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

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

diffstat:
 lcms2-32/buildlink3.mk | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diffs:
diff --git a/lcms2-32/buildlink3.mk b/lcms2-32/buildlink3.mk
new file mode 100644
index 0000000000..38b06b18df
--- /dev/null
+++ b/lcms2-32/buildlink3.mk
@@ -0,0 +1,26 @@
+# $NetBSD: buildlink3.mk,v 1.2 2011/07/25 17:53:17 jakllsch Exp $
+
+BUILDLINK_TREE+=	compat32_lcms2
+
+.if !defined(COMPAT32_LCMS2_BUILDLINK3_MK)
+COMPAT32_LCMS2_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.compat32_lcms2+=	compat32_lcms2>=2.2
+BUILDLINK_PKGSRCDIR.compat32_lcms2?=	../../wip/lcms2-32
+BUILDLINK_LIBDIRS.compat32_lcms2=	lib/32
+
+BUILDLINK_TARGETS+=	buildlink-include-compat32_lcms2
+
+.PHONY: buildlink-include-compat32_lcms2
+buildlink-include-compat32_lcms2:
+.for _h_ in lcms2.h
+	${RUN}								\
+	if [ ! -f ${BUILDLINK_DIR}/include/lcms2/${_h_} ]; then		\
+		${MKDIR} ${BUILDLINK_DIR}/include/lcms2;		\
+		${ECHO_BUILDLINK_MSG} "Linking lcms2/${_h_} to ${_h_} in ${BUILDLINK_DIR}/include"; \
+		${LN} -s ${BUILDLINK_PREFIX.lcms2}/include/${_h_} ${BUILDLINK_DIR}/include/lcms2/${_h_}; \
+	fi
+.endfor
+.endif # COMPAT32_LCMS2_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-compat32_lcms2


Home | Main Index | Thread Index | Old Index