diff options
author | brooks <brooks@FreeBSD.org> | 2008-02-26 02:08:08 +0800 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2008-02-26 02:08:08 +0800 |
commit | 06d6f33cd16397941bcae3d3b365b1cad7d2e9da (patch) | |
tree | 3aa17c4457bafd09f23190e253e2e0549cc7d665 /sysutils/sge61 | |
parent | 86586e596892015c779015c22e135783456a170f (diff) | |
download | freebsd-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/sge61')
-rw-r--r-- | sysutils/sge61/Makefile | 2 | ||||
-rw-r--r-- | sysutils/sge61/files/patch-libs_uti_Makefile | 14 |
2 files changed, 15 insertions, 1 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 |