aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2002-05-28 07:16:06 +0800
committerkuriyama <kuriyama@FreeBSD.org>2002-05-28 07:16:06 +0800
commit8bd5c44a07f85dc0e02bae25a4579ec6d9955019 (patch)
treea573415067fa7c8737c5230c473ed09263f33eb3
parent9c393b1b64fc8e6e51136d16fe4797f32f470461 (diff)
downloadfreebsd-ports-gnome-8bd5c44a07f85dc0e02bae25a4579ec6d9955019.tar.gz
freebsd-ports-gnome-8bd5c44a07f85dc0e02bae25a4579ec6d9955019.tar.zst
freebsd-ports-gnome-8bd5c44a07f85dc0e02bae25a4579ec6d9955019.zip
Use i586 optimized asm code for msi when i586 over CPUTYPE is set in
/etc/make.conf. Submitted by: <skrueger@europe.com>
-rw-r--r--security/gnupg/Makefile5
-rw-r--r--security/gnupg1/Makefile5
2 files changed, 8 insertions, 2 deletions
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
diff --git a/security/gnupg1/Makefile b/security/gnupg1/Makefile
index 7e7c849380b7..5a51f94047f5 100644
--- a/security/gnupg1/Makefile
+++ b/security/gnupg1/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