summaryrefslogtreecommitdiff
path: root/graphics/imlib2
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-02-11 05:51:53 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-02-11 05:51:53 +0000
commitd7a788c6dcdc188f205108f6c2182b06b4f87e60 (patch)
tree01d99575f1b41933c26782ebb83e6f936bf884f2 /graphics/imlib2
parent661fe7eb7c2a037777f9e50056e6ae42c46e46c5 (diff)
downloadpkgsrc-d7a788c6dcdc188f205108f6c2182b06b4f87e60.tar.gz
bl3ify, while here replace USE_X11BASE with USE_X11.
Diffstat (limited to 'graphics/imlib2')
-rw-r--r--graphics/imlib2/Makefile18
-rw-r--r--graphics/imlib2/buildlink3.mk28
2 files changed, 37 insertions, 9 deletions
diff --git a/graphics/imlib2/Makefile b/graphics/imlib2/Makefile
index 6166d851701..6fdb978c468 100644
--- a/graphics/imlib2/Makefile
+++ b/graphics/imlib2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2004/02/04 00:00:53 grant Exp $
+# $NetBSD: Makefile,v 1.16 2004/02/11 05:51:53 xtraeme Exp $
#
DISTNAME= imlib2-1.1.0
@@ -11,9 +11,9 @@ HOMEPAGE= http://www.enlightenment.org/pages/imlib2.html
COMMENT= Image manipulation library
GNU_CONFIGURE= YES
-USE_X11BASE= YES
+USE_X11= YES
USE_LIBTOOL= YES
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
PKGCONFIG_OVERRIDE= ${WRKSRC}/imlib2.pc.in
@@ -27,10 +27,10 @@ CONFIGURE_ARGS+= --enable-mmx
.endif
BUILD_DEFS+= USE_MMX
-.include "../../devel/pkgconfig/buildlink2.mk"
-.include "../../graphics/freetype2/buildlink2.mk"
-.include "../../graphics/jpeg/buildlink2.mk"
-.include "../../graphics/libungif/buildlink2.mk"
-.include "../../graphics/png/buildlink2.mk"
-.include "../../graphics/tiff/buildlink2.mk"
+.include "../../devel/pkgconfig/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../graphics/jpeg/buildlink3.mk"
+.include "../../graphics/libungif/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../graphics/tiff/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/imlib2/buildlink3.mk b/graphics/imlib2/buildlink3.mk
new file mode 100644
index 00000000000..4b078ddc220
--- /dev/null
+++ b/graphics/imlib2/buildlink3.mk
@@ -0,0 +1,28 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/02/11 05:51:53 xtraeme Exp $
+#
+# This Makefile fragment is included by packages that use imlib2.
+#
+# This file was created automatically using createbuildlink-3.1.
+#
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+IMLIB2_BUILDLINK3_MK:= ${IMLIB2_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= imlib2
+.endif
+
+.if !empty(IMLIB2_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= imlib2
+BUILDLINK_DEPENDS.imlib2+= imlib2>=1.1.0nb1
+BUILDLINK_PKGSRCDIR.imlib2?= ../../graphics/imlib2
+
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../graphics/jpeg/buildlink3.mk"
+.include "../../graphics/libungif/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../graphics/tiff/buildlink3.mk"
+
+.endif # IMLIB2_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}