| @@ -1,41 +1,41 @@ | | | @@ -1,41 +1,41 @@ |
1 | # $NetBSD: Makefile,v 1.17 2014/10/21 11:46:31 gdt Exp $ | | 1 | # $NetBSD: Makefile,v 1.18 2016/03/09 18:04:17 gdt Exp $ |
2 | | | 2 | |
3 | VERSION= 4.1.0 | | 3 | VERSION= 4.1.1 |
4 | DISTNAME= libotr-${VERSION} | | 4 | DISTNAME= libotr-${VERSION} |
5 | PKGNAME= libotr-${VERSION} | | 5 | PKGNAME= libotr-${VERSION} |
6 | CATEGORIES= chat security | | 6 | CATEGORIES= chat security |
7 | MASTER_SITES= http://www.cypherpunks.ca/otr/ | | 7 | MASTER_SITES= http://www.cypherpunks.ca/otr/ |
8 | | | 8 | |
9 | MAINTAINER= nathanw@NetBSD.org | | 9 | MAINTAINER= nathanw@NetBSD.org |
10 | # also gdt@NetBSD.org | | 10 | # also gdt@NetBSD.org |
11 | HOMEPAGE= http://www.cypherpunks.ca/otr/ | | 11 | HOMEPAGE= http://www.cypherpunks.ca/otr/ |
12 | COMMENT= Library for Off-The-Record encrypted messaging | | 12 | COMMENT= Library for Off-The-Record encrypted messaging |
13 | LICENSE= gnu-gpl-v2 | | 13 | LICENSE= gnu-gpl-v2 |
14 | | | 14 | |
15 | # Work around rc tarballs that unpack to bare version. | | 15 | # Work around rc tarballs that unpack to bare version. |
16 | WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} | | 16 | WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} |
17 | | | 17 | |
18 | GNU_CONFIGURE= yes | | 18 | GNU_CONFIGURE= yes |
19 | CONFIGURE_ARGS+= --with-pic | | 19 | CONFIGURE_ARGS+= --with-pic |
20 | | | 20 | |
21 | USE_LIBTOOL= yes | | 21 | USE_LIBTOOL= yes |
22 | | | 22 | |
23 | # There's an apparent bug in gcc 4.1.3 on i386 (as shipped in | | 23 | # There's an apparent bug in gcc 4.1.3 on i386 (as shipped in |
24 | # netbsd-5). With -O2 and the stack protector (SSP) feature, the | | 24 | # netbsd-5). With -O2 and the stack protector (SSP) feature, the |
25 | # function otrl_auth_handle_revealsig is badly miscompiled. | | 25 | # function otrl_auth_handle_revealsig is badly miscompiled. |
26 | | | 26 | |
27 | #Not apparently relevant, but makes -S output easier to follow. | | 27 | #Not apparently relevant, but makes -S output easier to follow. |
28 | #CFLAGS+= -ggdb | | 28 | #CFLAGS+= -ggdb |
29 | #A way to avoid the bug. | | 29 | #A way to avoid the bug. |
30 | #CFLAGS+= -O1 | | 30 | #CFLAGS+= -O1 |
31 | | | 31 | |
32 | # Avoid optimization/SSP bug. | | 32 | # Avoid optimization/SSP bug. |
33 | CONFIGURE_ARGS+= --disable-gcc-hardening | | 33 | CONFIGURE_ARGS+= --disable-gcc-hardening |
34 | | | 34 | |
35 | # This seems irrelevant, but was on the list to check, and thus is | | 35 | # This seems irrelevant, but was on the list to check, and thus is |
36 | # left as a hint to others. | | 36 | # left as a hint to others. |
37 | #CONFIGURE_ARGS+= --disable-linker-hardening | | 37 | #CONFIGURE_ARGS+= --disable-linker-hardening |
38 | | | 38 | |
39 | .include "../../devel/gettext-lib/buildlink3.mk" | | 39 | .include "../../devel/gettext-lib/buildlink3.mk" |
40 | .include "../../security/libgcrypt/buildlink3.mk" | | 40 | .include "../../security/libgcrypt/buildlink3.mk" |
41 | .include "../../mk/bsd.pkg.mk" | | 41 | .include "../../mk/bsd.pkg.mk" |