1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- Support build on ia64

This commit is contained in:
Dirk Meyer 2003-01-11 11:22:41 +00:00
parent 12d04ad4bc
commit 04b4de8d3d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=72894
4 changed files with 11 additions and 6 deletions

View File

@ -4,7 +4,7 @@
/* Needed by RSAREF */ /* Needed by RSAREF */
-#ifdef __alpha -#ifdef __alpha
+#if defined(__alpha) || defined(__sparc64__) +#if defined(__alpha) || defined(__sparc64__) || defined(__ia64__)
typedef unsigned UINT4; typedef unsigned UINT4;
#else #else
typedef unsigned long UINT4; typedef unsigned long UINT4;

View File

@ -1,16 +1,16 @@
--- makefile.orig Fri Mar 23 02:44:58 2001 --- makefile.orig Fri Mar 23 02:44:58 2001
+++ makefile Sun Dec 8 11:18:52 2002 +++ makefile Sat Jan 11 03:05:44 2003
@@ -79,7 +79,8 @@ @@ -79,7 +79,8 @@
@echo "where <system> can be:" @echo "where <system> can be:"
@echo " 386bsd, 3b1, 3b1_asm, aix370, aix386, amix-68k-gcc, apollo," @echo " 386bsd, 3b1, 3b1_asm, aix370, aix386, amix-68k-gcc, apollo,"
@echo " apollo-gcc, atari,aux(*), aux-gcc, bsd, bsdgcc, convexos," @echo " apollo-gcc, atari,aux(*), aux-gcc, bsd, bsdgcc, convexos,"
- @echo " dgux, djgpp, encore, freebsd, hpux-68k(*), hpux-68k-ansi," - @echo " dgux, djgpp, encore, freebsd, hpux-68k(*), hpux-68k-ansi,"
+ @echo " dgux, djgpp, encore, freebsd-{alpha,i386,sparc64}," + @echo " dgux, djgpp, encore, freebsd-{alpha,i386,sparc64,ia64},"
+ @echo " hpux-68k(*), hpux-68k-ansi," + @echo " hpux-68k(*), hpux-68k-ansi,"
@echo " hpux-68k-gcc, hpux-pa(*), hpux-pa-ansi, hpux-pa-gcc, hpux9-pa-ansi," @echo " hpux-68k-gcc, hpux-pa(*), hpux-pa-ansi, hpux-pa-gcc, hpux9-pa-ansi,"
@echo " irix, irix_asm, isc, isc_asm, linux, linux-aout, linux-68k," @echo " irix, irix_asm, isc, isc_asm, linux, linux-aout, linux-68k,"
@echo " machten, mach_386, mips-ultrix, netbsd, netbsd_68k, newsasm," @echo " machten, mach_386, mips-ultrix, netbsd, netbsd_68k, newsasm,"
@@ -175,10 +176,20 @@ @@ -175,10 +176,25 @@
$(MAKE) all CC=gcc LD=gcc \ $(MAKE) all CC=gcc LD=gcc \
CFLAGS="$(RSAINCDIR) -O2 -DHIGHFIRST -DUNIX -DPORTABLE -DIDEA32" CFLAGS="$(RSAINCDIR) -O2 -DHIGHFIRST -DUNIX -DPORTABLE -DIDEA32"
@ -30,6 +30,11 @@
+ $(MAKE) all LD="$(CC) -s" \ + $(MAKE) all LD="$(CC) -s" \
+ CFLAGS="$(RSAINCDIR) $(OS_CFLAGS) -DPORTABLE -DUNIX -DIDEA32 \ + CFLAGS="$(RSAINCDIR) $(OS_CFLAGS) -DPORTABLE -DUNIX -DIDEA32 \
+ -DHIGHFIRST -DMERRITT -DMAX_NAMELEN=255" + -DHIGHFIRST -DMERRITT -DMAX_NAMELEN=255"
+
+freebsd-ia64:
+ $(MAKE) all LD="$(CC) -s" \
+ CFLAGS="$(RSAINCDIR) $(OS_CFLAGS) -DPORTABLE -DUNIX -DIDEA32 \
+ -DMAX_NAMELEN=255"
386bsd: 386bsd:
$(MAKE) all CC=gcc LD=gcc OBJS_EXT="_80386.o _zmatch.o" \ $(MAKE) all CC=gcc LD=gcc OBJS_EXT="_80386.o _zmatch.o" \

View File

@ -5,7 +5,7 @@
#define MD5_H #define MD5_H
-#ifdef __alpha -#ifdef __alpha
+#if defined(__alpha) || defined(__sparc64__) +#if defined(__alpha) || defined(__sparc64__) || defined(__ia64__)
typedef unsigned int uint32; typedef unsigned int uint32;
#else #else
typedef unsigned long uint32; typedef unsigned long uint32;

View File

@ -5,7 +5,7 @@
typedef char *string; /* pointer to ASCII character string */ typedef char *string; /* pointer to ASCII character string */
typedef unsigned short word16; /* values are 0-65535 */ typedef unsigned short word16; /* values are 0-65535 */
-#ifdef __alpha -#ifdef __alpha
+#if defined(__alpha) || defined(__sparc64__) +#if defined(__alpha) || defined(__sparc64__) || defined(__ia64__)
typedef unsigned int word32; /* values are 0-4294967295 */ typedef unsigned int word32; /* values are 0-4294967295 */
#else #else
typedef unsigned long word32; /* values are 0-4294967295 */ typedef unsigned long word32; /* values are 0-4294967295 */