| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.105 2009/10/27 16:25:21 zafer Exp $ | | 1 | # $NetBSD: Makefile,v 1.106 2009/11/03 07:28:17 adam Exp $ |
2 | | | 2 | |
3 | DISTNAME= gnupg-1.4.10 | | 3 | DISTNAME= gnupg-1.4.10 |
4 | CATEGORIES= security | | 4 | CATEGORIES= security |
5 | MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/gnupg/ \ | | 5 | MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/gnupg/ \ |
6 | http://gd.tuwien.ac.at/privacy/gnupg/gnupg/ \ | | 6 | http://gd.tuwien.ac.at/privacy/gnupg/gnupg/ \ |
7 | ftp://ftp.jyu.fi/pub/crypt/gcrypt/gnupg/ \ | | 7 | ftp://ftp.jyu.fi/pub/crypt/gcrypt/gnupg/ \ |
8 | ftp://ftp.ring.gr.jp/pub/net/gnupg/gnupg/ | | 8 | ftp://ftp.ring.gr.jp/pub/net/gnupg/gnupg/ |
9 | EXTRACT_SUFX= .tar.bz2 | | 9 | EXTRACT_SUFX= .tar.bz2 |
10 | # don't remove this -- we may add idea.c.gz to it in options.mk | | 10 | # don't remove this -- we may add idea.c.gz to it in options.mk |
11 | DISTFILES= ${DISTNAME}${EXTRACT_SUFX} | | 11 | DISTFILES= ${DISTNAME}${EXTRACT_SUFX} |
12 | | | 12 | |
13 | MAINTAINER= wiz@NetBSD.org | | 13 | MAINTAINER= wiz@NetBSD.org |
14 | HOMEPAGE= http://www.gnupg.org/ | | 14 | HOMEPAGE= http://www.gnupg.org/ |
| @@ -25,31 +25,28 @@ USE_TOOLS+= gmake msgfmt | | | @@ -25,31 +25,28 @@ USE_TOOLS+= gmake msgfmt |
25 | CONFIGURE_ARGS+= --with-static-rnd=auto | | 25 | CONFIGURE_ARGS+= --with-static-rnd=auto |
26 | CONFIGURE_ARGS+= --with-mailprog=/usr/sbin/sendmail | | 26 | CONFIGURE_ARGS+= --with-mailprog=/usr/sbin/sendmail |
27 | TEST_TARGET= check | | 27 | TEST_TARGET= check |
28 | INFO_FILES= # PLIST | | 28 | INFO_FILES= # PLIST |
29 | | | 29 | |
30 | EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} | | 30 | EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} |
31 | | | 31 | |
32 | .include "options.mk" | | 32 | .include "options.mk" |
33 | | | 33 | |
34 | .if ${OPSYS} == "SunOS" || (${OPSYS} == "NetBSD" && !empty(OS_VERSION:M1.[0-6]*)) | | 34 | .if ${OPSYS} == "SunOS" || (${OPSYS} == "NetBSD" && !empty(OS_VERSION:M1.[0-6]*)) |
35 | CONFIGURE_ARGS+= --disable-gnupg-iconv | | 35 | CONFIGURE_ARGS+= --disable-gnupg-iconv |
36 | .endif | | 36 | .endif |
37 | | | 37 | |
38 | .if ${OPSYS} == "SunOS" && defined(ABI) && ${ABI} == 64 | | 38 | .if (${OPSYS} == "AIX" || ${OPSYS} == "Darwin" || ${OPSYS} == "SunOS") \ |
39 | CONFIGURE_ARGS+= --disable-asm | | 39 | && defined(ABI) && ${ABI} == 64 |
40 | .endif | | | |
41 | | | | |
42 | .if ${OPSYS} == "AIX" && defined(ABI) && ${ABI} == 64 | | | |
43 | CONFIGURE_ARGS+= --disable-asm | | 40 | CONFIGURE_ARGS+= --disable-asm |
44 | .endif | | 41 | .endif |
45 | | | 42 | |
46 | # XXX: still needed? | | 43 | # XXX: still needed? |
47 | .if ${OPSYS} == "FreeBSD" | | 44 | .if ${OPSYS} == "FreeBSD" |
48 | SUBST_CLASSES+= fixme | | 45 | SUBST_CLASSES+= fixme |
49 | SUBST_STAGE.fixme= post-configure | | 46 | SUBST_STAGE.fixme= post-configure |
50 | SUBST_FILES.fixme= mpi/i386/mpih-add1.S mpi/i386/mpih-lshift.S \ | | 47 | SUBST_FILES.fixme= mpi/i386/mpih-add1.S mpi/i386/mpih-lshift.S \ |
51 | mpi/i386/mpih-mul1.S mpi/i386/mpih-mul2.S \ | | 48 | mpi/i386/mpih-mul1.S mpi/i386/mpih-mul2.S \ |
52 | mpi/i386/mpih-mul3.S mpi/i386/mpih-rshift.S \ | | 49 | mpi/i386/mpih-mul3.S mpi/i386/mpih-rshift.S \ |
53 | mpi/i386/mpih-sub1.S | | 50 | mpi/i386/mpih-sub1.S |
54 | SUBST_SED.fixme= -e "s,ALIGN (3),ALIGN (4),g" | | 51 | SUBST_SED.fixme= -e "s,ALIGN (3),ALIGN (4),g" |
55 | .endif | | 52 | .endif |