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

gnuPG port 1.2.4 (little problems during make)



I'm not very familiar with the ports but I tried to update gnuPG up to
1.2.4.

I deleted the patches-dir in /usr/ports/security/gnupg/ and modified the
Makefile.


Makefile: 

--

# $OpenBSD: Makefile,v 1.42 2004/02/24 19:48:16 naddy Exp $

COMMENT=        "GNU privacy guard - a free PGP replacement"

DISTNAME=       gnupg-1.2.4
PKGNAME=        ${DISTNAME}
CATEGORIES=     security

MASTER_SITES=   ftp://ftp.gnupg.org/gcrypt/gnupg/ \
                ftp://gd.tuwien.ac.at/privacy/gnupg/gnupg/ \
                ftp://crypto.yashy.com/pub/cryptography/gnupg/ \
                ftp://ftp.planetmirror.com/pub/gnupg/gnupg/ \
                ftp://sunsite.dk/pub/security/gcrypt/gnupg/ \
                ftp://ftp.linux.it/pub/mirrors/gnupg/gnupg/ \
                ftp://pgp.iijlab.net/pub/pgp/gnupg/ \
                ftp://ring.aist.go.jp/pub/net/gnupg/gnupg/

MASTER_SITES0=  ftp://ftp.gnupg.dk/pub/contrib-dk/

HOMEPAGE=       http://www.gnupg.org/

MAINTAINER=     Reinhard J. Sammer <reinhard_(_at_)_openbsd_(_dot_)_org>

# GPL
PERMIT_PACKAGE_CDROM=   Yes
PERMIT_PACKAGE_FTP=     Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP=   Yes

MODULES= gettext

CONFIGURE_STYLE= autoconf
AUTOCONF_VERSION= 2.59
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC} ${WRKSRC}/scripts
CONFIGURE_ARGS+= --disable-ldap
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
                LDFLAGS="-L${LOCALBASE}/lib"

FLAVORS=        idea
FLAVOR?=

.if ${FLAVOR:L} == "idea"
PERMIT_PACKAGE_CDROM=   "a patented algorithm"
PERMIT_DISTFILES_CDROM= "a patented algorithm"
DISTFILES=              ${DISTNAME}${EXTRACT_SUFX} idea.c.gz:0

post-extract:
        ln -s ${WRKDIR}/idea.c ${WRKSRC}/cipher/idea.c
.endif

GNUPGDOCFILES=  README AUTHORS COPYING THANKS TODO BUGS \
                doc/DETAILS doc/FAQ doc/OpenPGP doc/HACKING doc/faq.html

post-install:
        ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gnupg
        cd ${WRKSRC}; ${INSTALL_DATA} ${GNUPGDOCFILES} \
                ${PREFIX}/share/doc/gnupg

do-regress:
        @cd ${WRKSRC}/checks && ${MAKE_PROGRAM}

.include <bsd.port.mk>

--




I've problems during the installation via 'make'.

--

_mpih-mul1.s: Assembler messages:
_mpih-mul1.s:114: Error: Alignment not a power of 2
_mpih-mul1.s:132: Error: Alignment not a power of 2
*** Error code 1

Stop in /usr/ports/security/gnupg/w-gnupg-1.2.4/gnupg-1.2.4/mpi.
*** Error code 1

Stop in /usr/ports/security/gnupg/w-gnupg-1.2.4/gnupg-1.2.4 (line 296 of Makefile).
*** Error code 1

Stop in /usr/ports/security/gnupg/w-gnupg-1.2.4/gnupg-1.2.4 (line 233 of Makefile).
*** Error code 1

Stop in /usr/ports/security/gnupg (line 1674 of /usr/ports/infrastructure/mk/bsd.port.mk).
# 

--



So I would be happy if someone could help me to correct this error. =)

vh



Visit your host, monkey.org