aboutsummaryrefslogtreecommitdiff
path: root/security/pgpin
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2015-05-16 18:11:50 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2015-05-16 18:11:50 +0000
commitbd0cbb74eaf48cbbd433005b06757f102ec104d1 (patch)
treea6aefdb51e2c476e6ce0eb02952fcd22b46cddf9 /security/pgpin
parent14a402d0eb5cb11b2880800a1a7f695ab8288feb (diff)
downloadports-bd0cbb74eaf48cbbd433005b06757f102ec104d1.tar.gz
ports-bd0cbb74eaf48cbbd433005b06757f102ec104d1.zip
- fix build for armv8
PR: 200121 Submitted by: Mikael Urankar
Notes
Notes: svn path=/head/; revision=386567
Diffstat (limited to 'security/pgpin')
-rw-r--r--security/pgpin/files/patch-makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/security/pgpin/files/patch-makefile b/security/pgpin/files/patch-makefile
index ec87603bc109..c8a16daa11d3 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 2011-06-24 19:39:57.000000000 +0200
++++ makefile 2015-05-16 19:59:11.000000000 +0200
@@ -50,15 +50,15 @@
# -DUSE_SELECT to use select() system call
# -DUSE_NBIO to use non-blocking read()
@@ -27,11 +27,11 @@
@echo " apollo-gcc, atari,aux(*), aux-gcc, bsd, bsdgcc, convexos,"
- @echo " dgux, djgpp, encore, freebsd, hpux-68k(*), hpux-68k-ansi,"
+ @echo " dgux, djgpp, encore, hpux-68k(*), hpux-68k-ansi,"
-+ @echo " freebsd-{alpha,i386,sparc64,ia64,amd64,powerpc},"
++ @echo " freebsd-{alpha,i386,sparc64,ia64,amd64,powerpc,armv6},"
@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,9 +176,32 @@
+@@ -175,9 +176,36 @@
$(MAKE) all CC=gcc LD=gcc \
CFLAGS="$(RSAINCDIR) -O2 -DHIGHFIRST -DUNIX -DPORTABLE -DIDEA32"
@@ -63,6 +63,10 @@
+freebsd-powerpc:
+ $(MAKE) all LD="$(CC) -s" \
+ CFLAGS="$(RSAINCDIR) $(OS_CFLAGS) -DPORTABLE -DUNIX -DIDEA32 \
++ -DMAX_NAMELEN=255"
++freebsd-armv6:
++ $(MAKE) all LD="$(CC) -s" \
++ CFLAGS="$(RSAINCDIR) $(OS_CFLAGS) -DPORTABLE -DUNIX -DIDEA32 \
-DMAX_NAMELEN=255"
386bsd: