summaryrefslogtreecommitdiffstats
path: root/security/pgpin
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2003-07-06 02:31:59 +0000
committerdinoex <dinoex@FreeBSD.org>2003-07-06 02:31:59 +0000
commit0819022bae47278ec38af5ae37a8ecfb9695aabc (patch)
tree29a71899492940c9048f577a0e5becf33d295744 /security/pgpin
parent29804d196e26e3ae63b66c0847ca7008143762a2 (diff)
downloadFreeBSD-ports-0819022bae47278ec38af5ae37a8ecfb9695aabc.zip
FreeBSD-ports-0819022bae47278ec38af5ae37a8ecfb9695aabc.tar.gz
- Unbreak for amd64
Diffstat (limited to 'security/pgpin')
-rw-r--r--security/pgpin/files/patch-global.h2
-rw-r--r--security/pgpin/files/patch-makefile10
-rw-r--r--security/pgpin/files/patch-md5.h2
-rw-r--r--security/pgpin/files/patch-usuals.h2
4 files changed, 10 insertions, 6 deletions
diff --git a/security/pgpin/files/patch-global.h b/security/pgpin/files/patch-global.h
index e5e9f05..e79d974 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__) || defined(__ia64__)
++#if defined(__alpha) || defined(__sparc64__) || defined(__ia64__) || defined(__amd64__)
typedef unsigned UINT4;
#else
typedef unsigned long UINT4;
diff --git a/security/pgpin/files/patch-makefile b/security/pgpin/files/patch-makefile
index 629ac93..d701f26 100644
--- a/security/pgpin/files/patch-makefile
+++ b/security/pgpin/files/patch-makefile
@@ -5,12 +5,12 @@
@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,ia64},"
-+ @echo " hpux-68k(*), hpux-68k-ansi,"
++ @echo " dgux, djgpp, encore, hpux-68k(*), hpux-68k-ansi,"
++ @echo " freebsd-{alpha,i386,sparc64,ia64,amd64},"
@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,25 @@
+@@ -175,10 +176,29 @@
$(MAKE) all CC=gcc LD=gcc \
CFLAGS="$(RSAINCDIR) -O2 -DHIGHFIRST -DUNIX -DPORTABLE -DIDEA32"
@@ -35,6 +35,10 @@
+ $(MAKE) all LD="$(CC) -s" \
+ CFLAGS="$(RSAINCDIR) $(OS_CFLAGS) -DPORTABLE -DUNIX -DIDEA32 \
+ -DMAX_NAMELEN=255"
++freebsd-amd64:
++ $(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 9e6bd44..abfbdbe 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__) || defined(__ia64__)
++#if defined(__alpha) || defined(__sparc64__) || defined(__ia64__) || defined(__amd64__)
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 e4376a1..6405b05 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__) || defined(__ia64__)
++#if defined(__alpha) || defined(__sparc64__) || defined(__ia64__) || defined(__amd64__)
typedef unsigned int word32; /* values are 0-4294967295 */
#else
typedef unsigned long word32; /* values are 0-4294967295 */
OpenPOWER on IntegriCloud