pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/security/gnupg



Module Name:    pkgsrc
Committed By:   nia
Date:           Thu Sep 30 11:17:11 UTC 2021

Modified Files:
        pkgsrc/security/gnupg: Makefile

Log Message:
gnupg: asm is unsafe for MKPIE on i386


To generate a diff of this commit:
cvs rdiff -u -r1.159 -r1.160 pkgsrc/security/gnupg/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/gnupg/Makefile
diff -u pkgsrc/security/gnupg/Makefile:1.159 pkgsrc/security/gnupg/Makefile:1.160
--- pkgsrc/security/gnupg/Makefile:1.159        Wed Sep 29 19:01:16 2021
+++ pkgsrc/security/gnupg/Makefile      Thu Sep 30 11:17:10 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.159 2021/09/29 19:01:16 adam Exp $
+# $NetBSD: Makefile,v 1.160 2021/09/30 11:17:10 nia Exp $
 
 DISTNAME=      gnupg-1.4.23
 PKGREVISION=   13
@@ -32,6 +32,10 @@ CONFIGURE_ARGS+=     --disable-gnupg-iconv
 CONFIGURE_ARGS+=       --disable-asm
 .endif
 
+.if ${MACHINE_ARCH} == "i386" && ${PKGSRC_MKPIE:tl} == "yes"
+CONFIGURE_ARGS+=       --disable-asm
+.endif
+
 .if !empty(USE_CROSS_COMPILE:M[yY][eE][sS])
 CONFIGURE_ENV+=                CC_FOR_BUILD=${NATIVE_CC:Q}
 .endif



Home | Main Index | Thread Index | Old Index