aboutsummaryrefslogtreecommitdiffstats
path: root/security/pgpin
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2015-05-17 02:11:50 +0800
committerdinoex <dinoex@FreeBSD.org>2015-05-17 02:11:50 +0800
commit33d3c3e2af7db658b2d66c58936e413b18594760 (patch)
treea6aefdb51e2c476e6ce0eb02952fcd22b46cddf9 /security/pgpin
parentd0b49ea852fb22519b6d34cbe001d5e473ececae (diff)
downloadfreebsd-ports-gnome-33d3c3e2af7db658b2d66c58936e413b18594760.tar.gz
freebsd-ports-gnome-33d3c3e2af7db658b2d66c58936e413b18594760.tar.zst
freebsd-ports-gnome-33d3c3e2af7db658b2d66c58936e413b18594760.zip
- fix build for armv8
PR: 200121 Submitted by: Mikael Urankar
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: