summaryrefslogtreecommitdiff
path: root/sysutils/xfsm
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2000-04-02 11:31:48 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2000-04-02 11:31:48 +0000
commit60ef73094fadaafca4b17243771344d09cd65ec2 (patch)
tree2a70d56e3a1694e447fb21dd277b09cefaba9a29 /sysutils/xfsm
parentAdd a patch for vga_cursor. (diff)
- Fix MASTER_SITES
- Support CC/CFLAGS properly PR: ports/17467 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Notes
Notes: svn path=/head/; revision=27283
Diffstat (limited to 'sysutils/xfsm')
-rw-r--r--sysutils/xfsm/Makefile3
-rw-r--r--sysutils/xfsm/files/patch-ab23
-rw-r--r--sysutils/xfsm/files/patch-ac11
3 files changed, 36 insertions, 1 deletions
diff --git a/sysutils/xfsm/Makefile b/sysutils/xfsm/Makefile
index e955d021a774..9933b30b6ea1 100644
--- a/sysutils/xfsm/Makefile
+++ b/sysutils/xfsm/Makefile
@@ -8,7 +8,8 @@
DISTNAME= xfsm-1.99
CATEGORIES= sysutils
-MASTER_SITES= http://www.peoplesoft.com/peoplepages/g/robert_gasch/src/
+MASTER_SITES= ${MASTER_SITE_SUNSITE}
+MASTER_SITE_SUBDIR= system/status/xstatus
EXTRACT_SUFX= .tgz
MAINTAINER= vanilla@FreeBSD.org
diff --git a/sysutils/xfsm/files/patch-ab b/sysutils/xfsm/files/patch-ab
new file mode 100644
index 000000000000..d9ba6546590c
--- /dev/null
+++ b/sysutils/xfsm/files/patch-ab
@@ -0,0 +1,23 @@
+--- Imakefile.orig Tue Feb 2 05:17:28 1999
++++ Imakefile Wed Mar 15 03:55:07 2000
+@@ -26,7 +26,7 @@
+ # uncomment the DEFINES definition appropriate for your machine
+ # HP will take care of itself ...
+ # CCOPTIONS = -O -DSUNOS
+-CCOPTIONS = -O2 -DLINUX
++# CCOPTIONS = -O2 -DLINUX
+ # CCOPTIONS = -O -DSVR4
+ # CCOPTIONS = -O -DAIX
+ #ifdef HPArchitecture
+@@ -45,9 +45,9 @@
+ # CCOPTIONS = -O -DDGUX
+
+
+-EXTRA_DEFINES = -DAPP_DEFAULTS_DIR=\"$(XAPPLOADDIR)/\"
++EXTRA_DEFINES = -DFreeBSD -DAPP_DEFAULTS_DIR=\"$(XAPPLOADDIR)/\"
+
+-CC = cc
++# CC = cc
+
+
+ ##############################################################################
diff --git a/sysutils/xfsm/files/patch-ac b/sysutils/xfsm/files/patch-ac
new file mode 100644
index 000000000000..3cbc2489196d
--- /dev/null
+++ b/sysutils/xfsm/files/patch-ac
@@ -0,0 +1,11 @@
+--- xfsm_util.c.orig Thu Feb 18 04:35:38 1999
++++ xfsm_util.c Wed Mar 15 03:08:33 2000
+@@ -152,7 +152,7 @@
+ /* *** FreeBSD has fsize which is the physical block size *** */
+ /* *** and bsize which is the optimal transfer block size *** */
+ /* *** and which depends on the filesystem parameter. *** */
+- calc_bsize=stats[i].f_fsize;
++ calc_bsize=stats[i].f_bsize;
+ #endif /* FreeBSD */
+
+ /* *** take the longer of the two 'problematic' strings *** */