aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
Diffstat (limited to 'security')
-rw-r--r--security/pgpin/Makefile3
-rw-r--r--security/pgpin/files/patch-makefile12
2 files changed, 11 insertions, 4 deletions
diff --git a/security/pgpin/Makefile b/security/pgpin/Makefile
index 293c5c4073cb..6514275a475b 100644
--- a/security/pgpin/Makefile
+++ b/security/pgpin/Makefile
@@ -15,8 +15,7 @@ LICENSE= MIT
PORTSCOUT= ignore:1
-BROKEN_aarch64= Does not build: do not know how to make freebsd-aarch64
-BROKEN_mips64= Does not build: do not know how to make freebsd-mips64
+BROKEN_mips64= Does not build
BROKEN_powerpc64= Does not build
USES= tar:tgz
diff --git a/security/pgpin/files/patch-makefile b/security/pgpin/files/patch-makefile
index 09586927e062..c958aeac416c 100644
--- a/security/pgpin/files/patch-makefile
+++ b/security/pgpin/files/patch-makefile
@@ -1,5 +1,5 @@
--- makefile.orig 2001-03-23 11:44:58.000000000 +0100
-+++ makefile 2016-10-07 07:05:13.258216000 +0200
++++ makefile 2016-11-19 13:49:38.970838000 +0100
@@ -50,15 +50,15 @@
# -DUSE_SELECT to use select() system call
# -DUSE_NBIO to use non-blocking read()
@@ -31,7 +31,7 @@
@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,11 +176,46 @@
+@@ -175,11 +176,54 @@
$(MAKE) all CC=gcc LD=gcc \
CFLAGS="$(RSAINCDIR) -O2 -DHIGHFIRST -DUNIX -DPORTABLE -DIDEA32"
@@ -76,6 +76,14 @@
+ $(MAKE) all LD="$(CC) -s" \
+ CFLAGS="$(RSAINCDIR) $(OS_CFLAGS) -DPORTABLE -DUNIX -DIDEA32 \
+ -DMAX_NAMELEN=255 -DMPORTABLE"
++freebsd-aarch64:
++ $(MAKE) all LD="$(CC) -s" \
++ CFLAGS="$(RSAINCDIR) $(OS_CFLAGS) -DPORTABLE -DUNIX -DIDEA32 \
++ -DMAX_NAMELEN=255"
++freebsd-powerpc64:
++ $(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" \