Tue Nov 3 07:28:18 2009 UTC ()
Allow building on 64-bit Darwin


(adam)
diff -r1.105 -r1.106 pkgsrc/security/gnupg/Makefile

cvs diff -r1.105 -r1.106 pkgsrc/security/gnupg/Makefile (expand / switch to unified diff)

--- pkgsrc/security/gnupg/Makefile 2009/10/27 16:25:21 1.105
+++ pkgsrc/security/gnupg/Makefile 2009/11/03 07:28:17 1.106
@@ -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
3DISTNAME= gnupg-1.4.10 3DISTNAME= gnupg-1.4.10
4CATEGORIES= security 4CATEGORIES= security
5MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/gnupg/ \ 5MASTER_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/
9EXTRACT_SUFX= .tar.bz2 9EXTRACT_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
11DISTFILES= ${DISTNAME}${EXTRACT_SUFX} 11DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
12 12
13MAINTAINER= wiz@NetBSD.org 13MAINTAINER= wiz@NetBSD.org
14HOMEPAGE= http://www.gnupg.org/ 14HOMEPAGE= http://www.gnupg.org/
@@ -25,31 +25,28 @@ USE_TOOLS+= gmake msgfmt @@ -25,31 +25,28 @@ USE_TOOLS+= gmake msgfmt
25CONFIGURE_ARGS+= --with-static-rnd=auto 25CONFIGURE_ARGS+= --with-static-rnd=auto
26CONFIGURE_ARGS+= --with-mailprog=/usr/sbin/sendmail 26CONFIGURE_ARGS+= --with-mailprog=/usr/sbin/sendmail
27TEST_TARGET= check 27TEST_TARGET= check
28INFO_FILES= # PLIST 28INFO_FILES= # PLIST
29 29
30EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} 30EXTRACT_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]*))
35CONFIGURE_ARGS+= --disable-gnupg-iconv 35CONFIGURE_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") \
39CONFIGURE_ARGS+= --disable-asm 39 && defined(ABI) && ${ABI} == 64
40.endif 
41 
42.if ${OPSYS} == "AIX" && defined(ABI) && ${ABI} == 64 
43CONFIGURE_ARGS+= --disable-asm 40CONFIGURE_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"
48SUBST_CLASSES+= fixme 45SUBST_CLASSES+= fixme
49SUBST_STAGE.fixme= post-configure 46SUBST_STAGE.fixme= post-configure
50SUBST_FILES.fixme= mpi/i386/mpih-add1.S mpi/i386/mpih-lshift.S \ 47SUBST_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
54SUBST_SED.fixme= -e "s,ALIGN (3),ALIGN (4),g" 51SUBST_SED.fixme= -e "s,ALIGN (3),ALIGN (4),g"
55.endif 52.endif