summaryrefslogtreecommitdiff
path: root/graphics/lcms
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/lcms')
-rw-r--r--graphics/lcms/Makefile4
-rw-r--r--graphics/lcms/buildlink2.mk19
-rw-r--r--graphics/lcms/distinfo2
-rw-r--r--graphics/lcms/patches/patch-ab2
4 files changed, 23 insertions, 4 deletions
diff --git a/graphics/lcms/Makefile b/graphics/lcms/Makefile
index 36dfba073db..076bb11e976 100644
--- a/graphics/lcms/Makefile
+++ b/graphics/lcms/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2002/01/14 14:43:35 skrll Exp $
+# $NetBSD: Makefile,v 1.4 2002/08/25 18:39:14 jlam Exp $
# FreeBSD: ports/graphics/lcms/Makefile,v 1.2 2000/12/19 15:36:26 sobomax Exp
DISTNAME= lcms-1.06
@@ -10,7 +10,7 @@ MAINTAINER= packages@NetBSD.org
HOMEPAGE= http://www.littlecms.com/
COMMENT= Light Color Management System -- a color management library
-USE_BUILDLINK_ONLY= yes
+USE_BUILDLINK2= yes
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
diff --git a/graphics/lcms/buildlink2.mk b/graphics/lcms/buildlink2.mk
new file mode 100644
index 00000000000..5f463a19ba0
--- /dev/null
+++ b/graphics/lcms/buildlink2.mk
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 18:39:14 jlam Exp $
+
+.if !defined(LCMS_BUILDLINK2_MK)
+LCMS_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= lcms
+BUILDLINK_DEPENDS.lcms?= lcms>=1.06
+BUILDLINK_PKGSRCDIR.lcms?= ../../graphics/lcms
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.lcms=lcms
+BUILDLINK_PREFIX.lcms_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.lcms= include/lcms/*
+BUILDLINK_FILES.lcms+= lib/liblcms.*
+
+BUILDLINK_TARGETS+= lcms-buildlink
+
+lcms-buildlink: _BUILDLINK_USE
+
+.endif # LCMS_BUILDLINK2_MK
diff --git a/graphics/lcms/distinfo b/graphics/lcms/distinfo
index 3e5dac3f22e..d6fdd889890 100644
--- a/graphics/lcms/distinfo
+++ b/graphics/lcms/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2002/05/14 22:06:56 skrll Exp $
+$NetBSD: distinfo,v 1.7 2002/08/25 18:39:15 jlam Exp $
SHA1 (lcms-1.06.tar.gz) = 3c9e99eb50598a0346c07fb1cacbf6cc4841001b
Size (lcms-1.06.tar.gz) = 644116 bytes
diff --git a/graphics/lcms/patches/patch-ab b/graphics/lcms/patches/patch-ab
index 28bac39388f..27dead078a7 100644
--- a/graphics/lcms/patches/patch-ab
+++ b/graphics/lcms/patches/patch-ab
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.6 2002/05/20 17:47:23 cjep Exp $
+$NetBSD: patch-ab,v 1.7 2002/08/25 18:39:15 jlam Exp $
--- source/cmsmtrx.c.orig Thu May 18 23:08:13 2000
+++ source/cmsmtrx.c Tue May 14 22:38:58 2002
@@ -31,6 +31,7 @@