pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/gnupg Fix build in FreeBSD, the output was:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c85626cbb7a1
branches:  trunk
changeset: 467555:c85626cbb7a1
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Mon Feb 02 23:41:32 2004 +0000

description:
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:

 security/gnupg/Makefile |  14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

diffs (28 lines):

diff -r ddd7817d832d -r c85626cbb7a1 security/gnupg/Makefile
--- a/security/gnupg/Makefile   Mon Feb 02 23:10:29 2004 +0000
+++ b/security/gnupg/Makefile   Mon Feb 02 23:41:32 2004 +0000
@@ -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 @@
 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"



Home | Main Index | Thread Index | Old Index