aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2000-04-02 19:31:48 +0800
committervanilla <vanilla@FreeBSD.org>2000-04-02 19:31:48 +0800
commita351ae4a0975119d5dba191d9de47e97a2c1032f (patch)
tree1551da5f1464fc9385a8ad5617871a60039f986c /sysutils
parent2fb6b6c2eb1d380678f038912aed7bc022a781ee (diff)
downloadfreebsd-ports-gnome-a351ae4a0975119d5dba191d9de47e97a2c1032f.tar.gz
freebsd-ports-gnome-a351ae4a0975119d5dba191d9de47e97a2c1032f.tar.zst
freebsd-ports-gnome-a351ae4a0975119d5dba191d9de47e97a2c1032f.zip
- Fix MASTER_SITES
- Support CC/CFLAGS properly PR: ports/17467 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Diffstat (limited to 'sysutils')
-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 *** */