From 88939403783c7ee94c37d67dfd46487f07ed8887 Mon Sep 17 00:00:00 2001 From: hubertf Date: Tue, 5 Oct 1999 00:21:12 +0000 Subject: Add dependency on ncurses, and use it. --- net/coda5_server/Makefile | 3 ++- net/coda5_server/files/patch-sum | 4 ++++ net/coda5_server/patches/patch-aa | 40 +++++++++++++++++++++++++++++++++++++++ net/coda5_server/patches/patch-ab | 13 +++++++++++++ 4 files changed, 59 insertions(+), 1 deletion(-) create mode 100644 net/coda5_server/files/patch-sum create mode 100644 net/coda5_server/patches/patch-aa create mode 100644 net/coda5_server/patches/patch-ab (limited to 'net/coda5_server') diff --git a/net/coda5_server/Makefile b/net/coda5_server/Makefile index 8aa2a9290ed..77e4d0afb7d 100644 --- a/net/coda5_server/Makefile +++ b/net/coda5_server/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 1999/07/13 01:20:13 jlam Exp $ +# $NetBSD: Makefile,v 1.18 1999/10/05 00:21:12 hubertf Exp $ # DISTNAME= coda-5.2.4 @@ -12,6 +12,7 @@ HOMEPAGE= http://www.coda.cs.cmu.edu/ DEPENDS+= gdbm-1.7.3:../../databases/gdbm DEPENDS+= readline-4.0:../../devel/readline +DEPENDS+= ncurses-4.2:../../devel/ncurses ONLY_FOR_PLATFORM= *-*-arm32 *-*-i386 *-*-ns32k diff --git a/net/coda5_server/files/patch-sum b/net/coda5_server/files/patch-sum new file mode 100644 index 00000000000..62fa198e6bf --- /dev/null +++ b/net/coda5_server/files/patch-sum @@ -0,0 +1,4 @@ +$NetBSD: patch-sum,v 1.1 1999/10/05 00:21:13 hubertf Exp $ + +MD5 (patch-aa) = 1f971ad127b9019ea620408f80e58b06 +MD5 (patch-ab) = 310df1e6aa199b7b14c588f816ec4370 diff --git a/net/coda5_server/patches/patch-aa b/net/coda5_server/patches/patch-aa new file mode 100644 index 00000000000..14222ff81a5 --- /dev/null +++ b/net/coda5_server/patches/patch-aa @@ -0,0 +1,40 @@ +$NetBSD: patch-aa,v 1.6 1999/10/05 00:21:13 hubertf Exp $ + +--- configure.orig Tue Oct 5 02:03:10 1999 ++++ configure Tue Oct 5 02:05:00 1999 +@@ -1486,7 +1486,7 @@ + echo $ac_n "(cached) $ac_c" 1>&6 + else + ac_save_LIBS="$LIBS" +-LIBS="-lncurses $LIBS" ++LIBS="-L${LOCALBASE}/lib -Wl,-R{$LOCALBASE}/lib -lncurses $LIBS" + cat > conftest.$ac_ext <&6 +- LIBTERMCAP="-lncurses" ++ LIBTERMCAP="-L${LOCALBASE}/lib -Wl,-R{$LOCALBASE}/lib -lncurses" + else + echo "$ac_t""no" 1>&6 + fi +@@ -1528,7 +1528,7 @@ + echo $ac_n "(cached) $ac_c" 1>&6 + else + ac_save_LIBS="$LIBS" +-LIBS="-lncurses $LIBTERMCAP $LIBS" ++LIBS="-L${LOCALBASE}/lib -Wl,-R{$LOCALBASE}/lib -lncurses $LIBTERMCAP $LIBS" + cat > conftest.$ac_ext <&6 +- LIBCURSES="-lncurses" ++ LIBCURSES="-L${LOCALBASE}/lib -Wl,-R{$LOCALBASE}/lib -lncurses" + else + echo "$ac_t""no" 1>&6 + echo $ac_n "checking for main in -lcurses""... $ac_c" 1>&6 diff --git a/net/coda5_server/patches/patch-ab b/net/coda5_server/patches/patch-ab new file mode 100644 index 00000000000..f5f3161e822 --- /dev/null +++ b/net/coda5_server/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.5 1999/10/05 00:21:13 hubertf Exp $ + +--- coda-src/vtools/Makefile.in.orig Tue Oct 5 02:06:17 1999 ++++ coda-src/vtools/Makefile.in Tue Oct 5 02:06:50 1999 +@@ -41,7 +41,7 @@ + + include $(TOPDIR)/configs/Makerules + +-cmon: cmon.o $(CMON_LIBS) ++cmon: cmon.o + $(CXX) $(LIBFLAGS) cmon.o $(CMON_LIBS) -o cmon + + codacon: codacon.o -- cgit v1.2.3