summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-02-02 23:41:32 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-02-02 23:41:32 +0000
commit1d4270a6316be5933dcbf87b3b6f1e448fc970c0 (patch)
treec1cbdc051857ef2e7478bee984a2282b12609863 /security
parent5f58933408ddc7578938c01fc36251bb3f8b1c7e (diff)
downloadpkgsrc-1d4270a6316be5933dcbf87b3b6f1e448fc970c0.tar.gz
Fix build in FreeBSD, the output was:
_mpih-mul1.s:2: Error: alignment not a power of 2 _mpih-mul1.s:20: Error: alignment not a power of 2 So, changing ALIGN (3) to ALIGN (4) fixes these problems. Patch sent by pancake in private email, adapted to use subst.mk framework by me.
Diffstat (limited to 'security')
-rw-r--r--security/gnupg/Makefile14
1 files changed, 13 insertions, 1 deletions
diff --git a/security/gnupg/Makefile b/security/gnupg/Makefile
index f7e77654af2..4fad6ae307a 100644
--- a/security/gnupg/Makefile
+++ b/security/gnupg/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.57 2004/01/24 15:00:22 grant Exp $
+# $NetBSD: Makefile,v 1.58 2004/02/02 23:41:32 xtraeme Exp $
DISTNAME= gnupg-1.2.4
CATEGORIES= security
@@ -59,6 +59,18 @@ CONFIGURE_ARGS+=--disable-ldap
PLIST_SUBST+= OPENLDAP="@comment "
.endif
+.if ${OPSYS} == "FreeBSD"
+
+SUBST_CLASSES= fixme
+SUBST_STAGE.fixme= post-configure
+SUBST_FILES.fixme= mpi/i386/mpih-add1.S mpi/i386/mpih-lshift.S \
+ mpi/i386/mpih-mul1.S mpi/i386/mpih-mul2.S \
+ mpi/i386/mpih-mul3.S mpi/i386/mpih-rshift.S \
+ mpi/i386/mpih-sub1.S
+SUBST_SED.fixme= -e "s,ALIGN(3),ALIGN(4),g"
+
+.endif
+
.include "../../converters/libiconv/buildlink2.mk"
.include "../../devel/gettext-lib/buildlink2.mk"
.include "../../devel/zlib/buildlink2.mk"