aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2008-02-26 02:08:08 +0800
committerbrooks <brooks@FreeBSD.org>2008-02-26 02:08:08 +0800
commit06d6f33cd16397941bcae3d3b365b1cad7d2e9da (patch)
tree3aa17c4457bafd09f23190e253e2e0549cc7d665 /sysutils
parent86586e596892015c779015c22e135783456a170f (diff)
downloadfreebsd-ports-gnome-06d6f33cd16397941bcae3d3b365b1cad7d2e9da.tar.gz
freebsd-ports-gnome-06d6f33cd16397941bcae3d3b365b1cad7d2e9da.tar.zst
freebsd-ports-gnome-06d6f33cd16397941bcae3d3b365b1cad7d2e9da.zip
Add a forgotten patch to compile the sge_arch.c file with -ansi to let
the evil cpp stringification hack for the architecture name work. Otherwise "uname -m" generally evaluates to a value that is a macro that expands to resulting in all architectures appearing to be fbsd-1.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/sge61/Makefile2
-rw-r--r--sysutils/sge61/files/patch-libs_uti_Makefile14
-rw-r--r--sysutils/sge62/Makefile2
-rw-r--r--sysutils/sge62/files/patch-libs_uti_Makefile14
4 files changed, 30 insertions, 2 deletions
diff --git a/sysutils/sge61/Makefile b/sysutils/sge61/Makefile
index 09c427e775bd..8279736c5258 100644
--- a/sysutils/sge61/Makefile
+++ b/sysutils/sge61/Makefile
@@ -7,7 +7,7 @@
PORTNAME= sge
PORTVERSION= ${SGE_VERSION}
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils parallel
MASTER_SITES= http://gridengine.sunsource.net/files/documents/7/161/:src \
http://gridengine.sunsource.net/download/SGE61/:bin \
diff --git a/sysutils/sge61/files/patch-libs_uti_Makefile b/sysutils/sge61/files/patch-libs_uti_Makefile
new file mode 100644
index 000000000000..89d912ad7396
--- /dev/null
+++ b/sysutils/sge61/files/patch-libs_uti_Makefile
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- libs/uti/Makefile.orig
++++ libs/uti/Makefile
+@@ -186,7 +186,7 @@
+ $(CC) $(CFLAGS) $(COD_NPROCS_CFLAGS) $(SHARED_CFLAGS) -c $(UTILIB_DIR)/sge_nprocs.c
+
+ sge_arch.o: $(UTILIB_DIR)/sge_arch.c
+- $(CC) $(CFLAGS) $(SHARED_CFLAGS) -c $(UTILIB_DIR)/sge_arch.c
++ $(CC) -ansi $(CFLAGS) $(SHARED_CFLAGS) -c $(UTILIB_DIR)/sge_arch.c
+
+ sge_loadmem.o: $(UTILIB_DIR)/sge_loadmem.c
+ $(CC) $(CFLAGS) $(MEMCFLAG) $(SHARED_CFLAGS) -c $(UTILIB_DIR)/sge_loadmem.c
diff --git a/sysutils/sge62/Makefile b/sysutils/sge62/Makefile
index 09c427e775bd..8279736c5258 100644
--- a/sysutils/sge62/Makefile
+++ b/sysutils/sge62/Makefile
@@ -7,7 +7,7 @@
PORTNAME= sge
PORTVERSION= ${SGE_VERSION}
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils parallel
MASTER_SITES= http://gridengine.sunsource.net/files/documents/7/161/:src \
http://gridengine.sunsource.net/download/SGE61/:bin \
diff --git a/sysutils/sge62/files/patch-libs_uti_Makefile b/sysutils/sge62/files/patch-libs_uti_Makefile
new file mode 100644
index 000000000000..89d912ad7396
--- /dev/null
+++ b/sysutils/sge62/files/patch-libs_uti_Makefile
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- libs/uti/Makefile.orig
++++ libs/uti/Makefile
+@@ -186,7 +186,7 @@
+ $(CC) $(CFLAGS) $(COD_NPROCS_CFLAGS) $(SHARED_CFLAGS) -c $(UTILIB_DIR)/sge_nprocs.c
+
+ sge_arch.o: $(UTILIB_DIR)/sge_arch.c
+- $(CC) $(CFLAGS) $(SHARED_CFLAGS) -c $(UTILIB_DIR)/sge_arch.c
++ $(CC) -ansi $(CFLAGS) $(SHARED_CFLAGS) -c $(UTILIB_DIR)/sge_arch.c
+
+ sge_loadmem.o: $(UTILIB_DIR)/sge_loadmem.c
+ $(CC) $(CFLAGS) $(MEMCFLAG) $(SHARED_CFLAGS) -c $(UTILIB_DIR)/sge_loadmem.c