Fixup fromcvs/togit conversion
[pkgsrcv2.git] / chat / libotr / Makefile
1 # $NetBSD: Makefile,v 1.12 2012/08/14 22:08:09 gdt Exp $
2
3 VERSION=        4.0.0
4 DISTNAME=       libotr-${VERSION}
5 CATEGORIES=     chat security
6 MASTER_SITES=   http://www.cypherpunks.ca/otr/
7
8 MAINTAINER=     nathanw@NetBSD.org
9 # also gdt@NetBSD.org
10 HOMEPAGE=       http://www.cypherpunks.ca/otr/
11 COMMENT=        Library for Off-The-Record encrypted messaging
12 LICENSE=        gnu-gpl-v2
13
14 PKG_DESTDIR_SUPPORT=    user-destdir
15
16 GNU_CONFIGURE=  yes
17 CONFIGURE_ARGS+=        --with-pic
18
19 USE_LIBTOOL=    yes
20
21 # There's an apparent bug in gcc 4.1.3 on i386 (as shipped in
22 # netbsd-5).  With -O2 and the stack protector (SSP) feature, the
23 # function otrl_auth_handle_revealsig is badly miscompiled.
24 # Therefore, we turn down optimization, since that seems better than
25 # turning off the stack protector.
26
27 #Not apparently relevant, but makes -S output easier to follow.
28 #CFLAGS+=               -ggdb
29 #A way to avoid the bug.
30 #CFLAGS+=               -O1
31
32 # Avoid optimization/SSP bug.
33 CONFIGURE_ARGS+=        --disable-gcc-hardening
34
35 # This seems irrelevant, but was on the list to check, and thus is
36 # left as a hint to others.
37 #CONFIGURE_ARGS+=       --disable-linker-hardening
38
39 .include "../../devel/gettext-lib/buildlink3.mk"
40 .include "../../security/libgcrypt/buildlink3.mk"
41 .include "../../mk/bsd.pkg.mk"