summaryrefslogtreecommitdiff
path: root/www/libghttp
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-08-25 18:38:05 +0000
committerjlam <jlam@pkgsrc.org>2002-08-25 18:38:05 +0000
commite2afa97f51a1f72e6618533019aaaae07b7d3cf2 (patch)
treed2b31bb9a6a069ebfb63079b9dddde1e6688bc4b /www/libghttp
parente97ad43756dc8382d2c6cb8a7ae09be0eb540f67 (diff)
downloadpkgsrc-e2afa97f51a1f72e6618533019aaaae07b7d3cf2.tar.gz
Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk. This provides sufficient buildlink2 infrastructure to start merging other packages from the buildlink2 branch that have already been converted to use the buildlink2 framework.
Diffstat (limited to 'www/libghttp')
-rw-r--r--www/libghttp/Makefile4
-rw-r--r--www/libghttp/buildlink2.mk19
2 files changed, 21 insertions, 2 deletions
diff --git a/www/libghttp/Makefile b/www/libghttp/Makefile
index 933a32f4888..bec3d6255db 100644
--- a/www/libghttp/Makefile
+++ b/www/libghttp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2001/06/30 09:59:50 zuntum Exp $
+# $NetBSD: Makefile,v 1.10 2002/08/25 18:40:20 jlam Exp $
DISTNAME= libghttp-1.0.9
CATEGORIES= www gnome
@@ -8,7 +8,7 @@ MAINTAINER= tron@netbsd.org
HOMEPAGE= http://www.gnome.org/
COMMENT= GNOME http client library
-USE_BUILDLINK_ONLY= YES
+USE_BUILDLINK2= YES
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
diff --git a/www/libghttp/buildlink2.mk b/www/libghttp/buildlink2.mk
new file mode 100644
index 00000000000..befd6555ef3
--- /dev/null
+++ b/www/libghttp/buildlink2.mk
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 18:40:20 jlam Exp $
+
+.if !defined(LIBGHTTP_BUILDLINK2_MK)
+LIBGHTTP_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= libghttp
+BUILDLINK_DEPENDS.libghttp?= libghttp>=1.0.9
+BUILDLINK_PKGSRCDIR.libghttp?= ../../www/libghttp
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.libghttp=libghttp
+BUILDLINK_PREFIX.libghttp_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.libghttp= include/ghttp*
+BUILDLINK_FILES.libghttp+= lib/libghttp.*
+
+BUILDLINK_TARGETS+= libghttp-buildlink
+
+libghttp-buildlink: _BUILDLINK_USE
+
+.endif # LIBGHTTP_BUILDLINK2_MK