1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/sysutils/sge62/files/patch-libs_uti_Makefile
Brooks Davis 7d15e5a75b 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.
2008-02-25 18:08:08 +00:00

15 lines
468 B
Plaintext

$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