summaryrefslogtreecommitdiff
path: root/security/gnupg/Makefile
diff options
context:
space:
mode:
authorwiz <wiz>2004-03-01 19:12:25 +0000
committerwiz <wiz>2004-03-01 19:12:25 +0000
commite3660a81d7523fea30d3d9a124b3bf43289d5219 (patch)
tree253dc47017328f1eb97b736499164b3e5186daa2 /security/gnupg/Makefile
parenta3b1736e99cb557b798e592632a4fa4ba36c1b38 (diff)
downloadpkgsrc-e3660a81d7523fea30d3d9a124b3bf43289d5219.tar.gz
Make build on m68kelf, and honour M68060 variable for quite a bit
of speedup on m68060 machines. From S.P. Zeidler in PR 24579.
Diffstat (limited to 'security/gnupg/Makefile')
-rw-r--r--security/gnupg/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/security/gnupg/Makefile b/security/gnupg/Makefile
index 18bf1d62647..ee9479a305b 100644
--- a/security/gnupg/Makefile
+++ b/security/gnupg/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.60 2004/02/08 01:00:13 kleink Exp $
+# $NetBSD: Makefile,v 1.61 2004/03/01 19:12:25 wiz Exp $
DISTNAME= gnupg-1.2.4
PKGREVISION= 1
@@ -33,7 +33,7 @@ INFO_FILES= gpg.info gpgv.info
.include "../../mk/bsd.prefs.mk"
-BUILD_DEFS+= USE_I586 USE_IDEA USE_OPENLDAP
+BUILD_DEFS+= USE_I586 USE_IDEA USE_OPENLDAP M68060
.if defined(USE_I586) && ${USE_I586} == YES
# use assembler routines optimized for i586
@@ -41,6 +41,12 @@ ONLY_FOR_PLATFORM= *-*-i386
MACHINE_GNU_ARCH= i586
.endif
+.if defined(M68060) && ${M68060} == YES
+# be more efficient on M68060 machines
+CONFIGURE_ENV+= M68060=${M68060}
+CFLAGS+= -m68060
+.endif
+
.if defined(USE_IDEA) && ${USE_IDEA} == YES
# use of IDEA as crypto function
LICENCE= fee-based-commercial-use