aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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