From f22b8c42a61ccfbb462bf2b94c3486b7baec18bd Mon Sep 17 00:00:00 2001 From: jlam Date: Sun, 25 Aug 2002 18:38:05 +0000 Subject: 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. --- www/libghttp/Makefile | 4 ++-- www/libghttp/buildlink2.mk | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 www/libghttp/buildlink2.mk (limited to 'www/libghttp') 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 -- cgit v1.2.3