summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-03-28 21:39:29 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-03-28 21:39:29 +0800
commit6bbab84a766e78561fa7e990978d729152a772d2 (patch)
tree545eb46492c3f5e62de6363183a5ffa418b0e393
parenta1c587259156e3264686eb1d5ed90fc2e74d9c11 (diff)
downloadpttbbs-6bbab84a766e78561fa7e990978d729152a772d2.tar
pttbbs-6bbab84a766e78561fa7e990978d729152a772d2.tar.gz
pttbbs-6bbab84a766e78561fa7e990978d729152a772d2.tar.bz2
pttbbs-6bbab84a766e78561fa7e990978d729152a772d2.tar.lz
pttbbs-6bbab84a766e78561fa7e990978d729152a772d2.tar.xz
pttbbs-6bbab84a766e78561fa7e990978d729152a772d2.tar.zst
pttbbs-6bbab84a766e78561fa7e990978d729152a772d2.zip
comments
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk@739 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/util/LocalVars.pm.sample4
-rw-r--r--pttbbs/util/Makefile9
2 files changed, 10 insertions, 3 deletions
diff --git a/pttbbs/util/LocalVars.pm.sample b/pttbbs/util/LocalVars.pm.sample
index 04806da6..1f24872d 100644
--- a/pttbbs/util/LocalVars.pm.sample
+++ b/pttbbs/util/LocalVars.pm.sample
@@ -19,6 +19,6 @@ $JOBSPOOL = "$BBSHOME/jobspool";
$TMP = '/tmp';
# program
-$TAR = '/bin/tar';
-$LYNX = '/usr/local/bin/lynx';
+$TAR = '/usr/bin/tar';
+$LYNX = '/usr/local/bin/lynx'; # /usr/ports/www/lynx
$GREP = '/usr/bin/grep';
diff --git a/pttbbs/util/Makefile b/pttbbs/util/Makefile
index e291cdee..3daa4579 100644
--- a/pttbbs/util/Makefile
+++ b/pttbbs/util/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.24 2003/02/17 18:37:48 in2 Exp $
+# $Id: Makefile,v 1.25 2003/03/28 13:39:29 in2 Exp $
BBSHOME?=$(HOME)
OSTYPE!=uname
@@ -37,6 +37,10 @@ PROGS= $(CPROGS) BM_money.sh backpasswd.sh mailog.sh opendice.sh\
toplazyBM.sh toplazyBBM.sh dailybackup.pl tarqueue.pl waterball.pl \
filtermail.pl getbackup.pl udnnews.pl rebuildaloha.pl railway_wrapper.pl
+.if ${OSTYPE} == "FreeBSD"
+CPROGS += diskstat
+.endif
+
all: $(PROGS)
bbsmail: bbsmail.c $(OBJS)
@@ -162,6 +166,9 @@ bbsctl: bbsctl.c
shmctl: shmctl.c $(OBJS)
$(CC) $(CFLAGS) -o $@ $@.c $(OBJS)
+diskstat: diskstat.c
+ $(CC) $(CFLAGS) -o diskstat diskstat.c -ldevstat
+
install: $(PROGS)
install -d $(BBSHOME)/bin/
install -c -m 755 $(PROGS) $(BBSHOME)/bin/