From 8bd5c44a07f85dc0e02bae25a4579ec6d9955019 Mon Sep 17 00:00:00 2001 From: kuriyama Date: Mon, 27 May 2002 23:16:06 +0000 Subject: Use i586 optimized asm code for msi when i586 over CPUTYPE is set in /etc/make.conf. Submitted by: --- security/gnupg/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'security/gnupg') diff --git a/security/gnupg/Makefile b/security/gnupg/Makefile index 7e7c849380b7..5a51f94047f5 100644 --- a/security/gnupg/Makefile +++ b/security/gnupg/Makefile @@ -19,7 +19,10 @@ LIB_DEPENDS= intl.2:${PORTSDIR}/devel/gettext USE_GMAKE= YES GNU_CONFIGURE= YES -CONFIGURE_TARGET= +CONFIGURE_TARGET= --build ${MACHINE_ARCH}-portbld-freebsd${OSREL} +.if ${MACHINE_CPU:Mi586} +MACHINE_ARCH= i586 +.endif CFLAGS:= ${CFLAGS:S/-pipe//g} MAN1= gpg.1 gpgv.1 -- cgit