summaryrefslogtreecommitdiff
path: root/devel/cvs
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-06-25 20:38:43 +0000
committerjlam <jlam@pkgsrc.org>2001-06-25 20:38:43 +0000
commitf9d82ca980db22a45447c6977da402f9394550a1 (patch)
treeafcf63b28aa34ea9fb21a35849b93728edbbd41a /devel/cvs
parent0148c10742f71155484f6f89753669288df8a89a (diff)
downloadpkgsrc-f9d82ca980db22a45447c6977da402f9394550a1.tar.gz
Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY. Also
replace reference to "autoreconf" with a full pathname.
Diffstat (limited to 'devel/cvs')
-rw-r--r--devel/cvs/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/devel/cvs/Makefile b/devel/cvs/Makefile
index 2754b0a28df..6bdc668a7fe 100644
--- a/devel/cvs/Makefile
+++ b/devel/cvs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.42 2001/04/17 07:49:46 tron Exp $
+# $NetBSD: Makefile,v 1.43 2001/06/25 20:38:43 jlam Exp $
#
DISTNAME= cvs-1.11
@@ -16,12 +16,10 @@ USE_GTEXINFO= yes
.include "../../mk/bsd.prefs.mk"
-BUILD_DEFS+= USE_INET6
+BUILD_DEFS+= USE_INET6
+USE_BUILDLINK_ONLY= yes
-.if (${OPSYS} == "SunOS")
-DEPENDS+= zlib-*:../../devel/zlib
-CFLAGS+= -I${PREFIX}/include # zlib.h
-.else
+.if (${OPSYS} == "NetBSD")
PATCH_SITES= ftp://ftp.kame.net/pub/kame/misc/
PATCHFILES= cvs-1.11-v6-20010413.diff.gz
PATCH_DIST_STRIP= -p1
@@ -35,7 +33,7 @@ CONFIGURE_ARGS+= --disable-ipv6
.endif
post-patch:
- (cd ${WRKSRC}; autoreconf)
+ cd ${WRKSRC}; ${LOCALBASE}/bin/autoreconf --force
.endif
.if defined(KERBEROS)
@@ -52,4 +50,5 @@ CONFIGURE_ENV+= perl_path=${PERL5}
INFO_FILES= cvs.info cvsclient.info
+.include "../../devel/zlib/buildlink.mk"
.include "../../mk/bsd.pkg.mk"