From 1d4270a6316be5933dcbf87b3b6f1e448fc970c0 Mon Sep 17 00:00:00 2001 From: xtraeme Date: Mon, 2 Feb 2004 23:41:32 +0000 Subject: 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. --- security/gnupg/Makefile | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) 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" -- cgit v1.2.3