aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2016-11-19 21:14:50 +0800
committerdinoex <dinoex@FreeBSD.org>2016-11-19 21:14:50 +0800
commitb220cd8ef1b660ec12b2599f3cc7238fb1fd4e78 (patch)
treed0da5ac93806b65ebc64113f885bd4bf91ff8dee
parent924fd683a0416fb42384c8edcb595473f561cc9d (diff)
downloadfreebsd-ports-gnome-b220cd8ef1b660ec12b2599f3cc7238fb1fd4e78.tar.gz
freebsd-ports-gnome-b220cd8ef1b660ec12b2599f3cc7238fb1fd4e78.tar.zst
freebsd-ports-gnome-b220cd8ef1b660ec12b2599f3cc7238fb1fd4e78.zip
- fix build on aarch64
-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" \