summaryrefslogtreecommitdiff
path: root/textproc/xmlrpc-c
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2007-02-24 18:59:46 +0000
committerwiz <wiz@pkgsrc.org>2007-02-24 18:59:46 +0000
commitcd88d6913ed233a17da4c7ef44400a5967322eeb (patch)
tree69739fa67c34e053da27b8d4a8ba08e2bce5661b /textproc/xmlrpc-c
parentda7334a981cb61b3e1a982f1f0dc1e41c8324b5c (diff)
downloadpkgsrc-cd88d6913ed233a17da4c7ef44400a5967322eeb.tar.gz
Despite appearances to the opposite, xmlrpc-c does not need expat.
It comes with an own patched version. Remove expat dependency and bump PKGREVISION. Add buildlink3.mk file.
Diffstat (limited to 'textproc/xmlrpc-c')
-rw-r--r--textproc/xmlrpc-c/Makefile4
-rw-r--r--textproc/xmlrpc-c/buildlink3.mk22
2 files changed, 24 insertions, 2 deletions
diff --git a/textproc/xmlrpc-c/Makefile b/textproc/xmlrpc-c/Makefile
index b9f543fcee6..98b89b35990 100644
--- a/textproc/xmlrpc-c/Makefile
+++ b/textproc/xmlrpc-c/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1.1.1 2007/02/24 11:00:51 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2007/02/24 18:59:46 wiz Exp $
#
DISTNAME= xmlrpc-c-1.09.00
+PKGREVISION= 1
CATEGORIES= textproc devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xmlrpc-c/}
EXTRACT_SUFX= .tgz
@@ -16,7 +17,6 @@ USE_LANGUAGES= c c++
USE_TOOLS+= gmake
MAKE_FILE= GNUmakefile
-.include "../../textproc/expat/buildlink3.mk"
.include "../../www/libwww/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/xmlrpc-c/buildlink3.mk b/textproc/xmlrpc-c/buildlink3.mk
new file mode 100644
index 00000000000..6258393e574
--- /dev/null
+++ b/textproc/xmlrpc-c/buildlink3.mk
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1 2007/02/24 18:59:46 wiz Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+XMLRPC_C_BUILDLINK3_MK:= ${XMLRPC_C_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= xmlrpc-c
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxmlrpc-c}
+BUILDLINK_PACKAGES+= xmlrpc-c
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xmlrpc-c
+
+.if ${XMLRPC_C_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.xmlrpc-c+= xmlrpc-c>=1.09.00
+BUILDLINK_PKGSRCDIR.xmlrpc-c?= ../../textproc/xmlrpc-c
+.endif # XMLRPC_C_BUILDLINK3_MK
+
+.include "../../www/libwww/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}