summaryrefslogtreecommitdiff
path: root/x11/kdelibs2
diff options
context:
space:
mode:
authorsnj <snj@pkgsrc.org>2004-05-01 23:57:00 +0000
committersnj <snj@pkgsrc.org>2004-05-01 23:57:00 +0000
commitc180ec1718d18f9243e67e9b4d5286533b03a1f2 (patch)
tree5eac80966151ba99542c347787ae16a149b644f3 /x11/kdelibs2
parent9126659fadf6aaa8559fb37f72b850f86621ec6f (diff)
downloadpkgsrc-c180ec1718d18f9243e67e9b4d5286533b03a1f2.tar.gz
Convert to buildlink3.
Diffstat (limited to 'x11/kdelibs2')
-rw-r--r--x11/kdelibs2/Makefile28
-rw-r--r--x11/kdelibs2/buildlink3.mk34
2 files changed, 48 insertions, 14 deletions
diff --git a/x11/kdelibs2/Makefile b/x11/kdelibs2/Makefile
index bc0bbc69078..4c33aae837f 100644
--- a/x11/kdelibs2/Makefile
+++ b/x11/kdelibs2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.62 2004/03/26 02:28:01 wiz Exp $
+# $NetBSD: Makefile,v 1.63 2004/05/01 23:57:00 snj Exp $
DISTNAME= kdelibs-2.2.2
PKGREVISION= 11
@@ -9,7 +9,7 @@ COMMENT= Support libraries for the KDE integrated X11 desktop
CONFLICTS= arts-[1-9]*
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
USE_GCC_SHLIB= YES
CONFIGURE_ARGS+= --with-ssl-dir="${BUILDLINK_PREFIX.openssl}"
@@ -36,7 +36,7 @@ PLIST_SRC= ${WRKDIR}/PLIST
UNLIMIT_RESOURCES= datasize
.if defined(USE_CUPS) && (${USE_CUPS} == "YES")
-. include "../../print/cups/buildlink2.mk"
+. include "../../print/cups/buildlink3.mk"
BUILD_DEFS+= USE_CUPS
PLIST_SUBST+= CUPS=
@@ -103,17 +103,17 @@ USE_PKGSRC_GCC= # defined
GCC_REQD+= 3.0
.endif
-.include "../../archivers/bzip2/buildlink2.mk"
-.include "../../audio/libaudiofile/buildlink2.mk"
-.include "../../devel/pcre/buildlink2.mk"
-.include "../../graphics/tiff/buildlink2.mk"
-.include "../../lang/perl5/buildlink2.mk"
-.include "../../security/openssl/buildlink2.mk"
-.include "../../textproc/libxml2/buildlink2.mk"
-.include "../../textproc/libxslt/buildlink2.mk"
-.include "../../x11/kde2/buildlink2.mk"
-.include "../../x11/qt2-libs/buildlink2.mk"
-.include "../../mk/ossaudio.buildlink2.mk"
+.include "../../archivers/bzip2/buildlink3.mk"
+.include "../../audio/libaudiofile/buildlink3.mk"
+.include "../../devel/pcre/buildlink3.mk"
+.include "../../graphics/tiff/buildlink3.mk"
+.include "../../lang/perl5/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../textproc/libxslt/buildlink3.mk"
+.include "../../x11/kde2/kde2.mk"
+.include "../../x11/qt2-libs/buildlink3.mk"
+.include "../../mk/ossaudio.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/x11/kdelibs2/buildlink3.mk b/x11/kdelibs2/buildlink3.mk
new file mode 100644
index 00000000000..af688133b06
--- /dev/null
+++ b/x11/kdelibs2/buildlink3.mk
@@ -0,0 +1,34 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/05/01 23:57:00 snj Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+KDELIBS2_BUILDLINK3_MK:= ${KDELIBS2_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= kdelibs2
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nkdelibs2}
+BUILDLINK_PACKAGES+= kdelibs2
+
+.if !empty(KDELIBS2_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.kdelibs2+= kdelibs>=2.2.2nb9
+BUILDLINK_DEPENDS.kdelibs2+= kdelibs<3.0 # qt2-designer-kde wants KDE 2
+BUILDLINK_RECOMMENDED.kdelibs2?=kdelibs>=2.2.2nb11
+BUILDLINK_PKGSRCDIR.kdelibs2?= ../../x11/kdelibs2
+.endif # KDELIB2S_BUILDLINK3_MK
+
+KDEDIR= ${BUILDLINK_PREFIX.kdelibs2}
+
+BUILDLINK_DEPENDS.audiofile= libaudiofile>=0.2.3
+
+.include "../../audio/libaudiofile/buildlink3.mk"
+.include "../../devel/pcre/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../textproc/libxslt/buildlink3.mk"
+.include "../../x11/qt2-libs/buildlink3.mk"
+
+.if defined(USE_CUPS) && (${USE_CUPS} == "YES")
+. include "../../print/cups/buildlink3.mk"
+.endif
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}