mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
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.
This commit is contained in:
parent
62bdf1276d
commit
7d15e5a75b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=207884
@ -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 \
|
||||
|
14
sysutils/sge61/files/patch-libs_uti_Makefile
Normal file
14
sysutils/sge61/files/patch-libs_uti_Makefile
Normal file
@ -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
|
@ -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 \
|
||||
|
14
sysutils/sge62/files/patch-libs_uti_Makefile
Normal file
14
sysutils/sge62/files/patch-libs_uti_Makefile
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user