From b220cd8ef1b660ec12b2599f3cc7238fb1fd4e78 Mon Sep 17 00:00:00 2001 From: dinoex Date: Sat, 19 Nov 2016 13:14:50 +0000 Subject: - fix build on aarch64 --- security/pgpin/Makefile | 3 +-- security/pgpin/files/patch-makefile | 12 ++++++++++-- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/security/pgpin/Makefile b/security/pgpin/Makefile index 293c5c4..6514275 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 0958692..c958aea 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" \ -- cgit v1.1