aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2003-01-11 19:22:41 +0800
committerdinoex <dinoex@FreeBSD.org>2003-01-11 19:22:41 +0800
commitb8deaa6df7515970cc74b2dc696765720df77f64 (patch)
tree3821af1f268b4a053b268d2fb6a5b67c871c18b4
parentabdeacb0d713551ffde9361941022b3eef82a1cc (diff)
downloadfreebsd-ports-graphics-b8deaa6df7515970cc74b2dc696765720df77f64.tar.gz
freebsd-ports-graphics-b8deaa6df7515970cc74b2dc696765720df77f64.tar.zst
freebsd-ports-graphics-b8deaa6df7515970cc74b2dc696765720df77f64.zip
- Support build on ia64
-rw-r--r--security/pgpin/files/patch-global.h2
-rw-r--r--security/pgpin/files/patch-makefile11
-rw-r--r--security/pgpin/files/patch-md5.h2
-rw-r--r--security/pgpin/files/patch-usuals.h2
4 files changed, 11 insertions, 6 deletions
diff --git a/security/pgpin/files/patch-global.h b/security/pgpin/files/patch-global.h
index e801c1bb69e..e5e9f055f5b 100644
--- a/security/pgpin/files/patch-global.h
+++ b/security/pgpin/files/patch-global.h
@@ -4,7 +4,7 @@
/* Needed by RSAREF */
-#ifdef __alpha
-+#if defined(__alpha) || defined(__sparc64__)
++#if defined(__alpha) || defined(__sparc64__) || defined(__ia64__)
typedef unsigned UINT4;
#else
typedef unsigned long UINT4;
diff --git a/security/pgpin/files/patch-makefile b/security/pgpin/files/patch-makefile
index 839984b7237..629ac93614a 100644
--- a/security/pgpin/files/patch-makefile
+++ b/security/pgpin/files/patch-makefile
@@ -1,16 +1,16 @@
--- 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 @@
@echo "where <system> can be:"
@echo " 386bsd, 3b1, 3b1_asm, aix370, aix386, amix-68k-gcc, apollo,"
@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-{alpha,i386,sparc64},"
++ @echo " dgux, djgpp, encore, freebsd-{alpha,i386,sparc64,ia64},"
+ @echo " hpux-68k(*), hpux-68k-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 " machten, mach_386, mips-ultrix, netbsd, netbsd_68k, newsasm,"
-@@ -175,10 +176,20 @@
+@@ -175,10 +176,25 @@
$(MAKE) all CC=gcc LD=gcc \
CFLAGS="$(RSAINCDIR) -O2 -DHIGHFIRST -DUNIX -DPORTABLE -DIDEA32"
@@ -30,6 +30,11 @@
+ $(MAKE) all LD="$(CC) -s" \
+ CFLAGS="$(RSAINCDIR) $(OS_CFLAGS) -DPORTABLE -DUNIX -DIDEA32 \
+ -DHIGHFIRST -DMERRITT -DMAX_NAMELEN=255"
++
++freebsd-ia64:
++ $(MAKE) all LD="$(CC) -s" \
++ CFLAGS="$(RSAINCDIR) $(OS_CFLAGS) -DPORTABLE -DUNIX -DIDEA32 \
++ -DMAX_NAMELEN=255"
386bsd:
$(MAKE) all CC=gcc LD=gcc OBJS_EXT="_80386.o _zmatch.o" \
diff --git a/security/pgpin/files/patch-md5.h b/security/pgpin/files/patch-md5.h
index 9b6b9e29335..9e6bd44eafc 100644
--- a/security/pgpin/files/patch-md5.h
+++ b/security/pgpin/files/patch-md5.h
@@ -5,7 +5,7 @@
#define MD5_H
-#ifdef __alpha
-+#if defined(__alpha) || defined(__sparc64__)
++#if defined(__alpha) || defined(__sparc64__) || defined(__ia64__)
typedef unsigned int uint32;
#else
typedef unsigned long uint32;
diff --git a/security/pgpin/files/patch-usuals.h b/security/pgpin/files/patch-usuals.h
index 61a02b04a81..e4376a1a826 100644
--- a/security/pgpin/files/patch-usuals.h
+++ b/security/pgpin/files/patch-usuals.h
@@ -5,7 +5,7 @@
typedef char *string; /* pointer to ASCII character string */
typedef unsigned short word16; /* values are 0-65535 */
-#ifdef __alpha
-+#if defined(__alpha) || defined(__sparc64__)
++#if defined(__alpha) || defined(__sparc64__) || defined(__ia64__)
typedef unsigned int word32; /* values are 0-4294967295 */
#else
typedef unsigned long word32; /* values are 0-4294967295 */