summaryrefslogtreecommitdiff
path: root/net/coda5_server
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>1999-10-05 00:21:12 +0000
committerhubertf <hubertf@pkgsrc.org>1999-10-05 00:21:12 +0000
commit88939403783c7ee94c37d67dfd46487f07ed8887 (patch)
treebaf0c6f33aa930afa6aeb59124f6dd322f09bb57 /net/coda5_server
parentac62959427c41a757225bf4ff470ca20e23fbc0b (diff)
downloadpkgsrc-88939403783c7ee94c37d67dfd46487f07ed8887.tar.gz
Add dependency on ncurses, and use it.
Diffstat (limited to 'net/coda5_server')
-rw-r--r--net/coda5_server/Makefile3
-rw-r--r--net/coda5_server/files/patch-sum4
-rw-r--r--net/coda5_server/patches/patch-aa40
-rw-r--r--net/coda5_server/patches/patch-ab13
4 files changed, 59 insertions, 1 deletions
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 <<EOF
+ #line 1492 "configure"
+ #include "confdefs.h"
+@@ -1514,7 +1514,7 @@
+ fi
+ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
+ echo "$ac_t""yes" 1>&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 <<EOF
+ #line 1534 "configure"
+ #include "confdefs.h"
+@@ -1552,7 +1552,7 @@
+ fi
+ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
+ echo "$ac_t""yes" 1>&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