ef9c99e791
changes: - Fix asn1_octet_der to handle writes of zero-length buffers, before it did not write the ASN.1 length for a zero-length buffer. This caused ASN.1 encodings to be incorrect on 64-bit platforms. - Add self test that attempt to trigger the above bug. - Fix test of -Wno-pointer-sign. - Improve cross-compilation to MinGW by using AC_LIBTOOL_WIN32_DLL.
33 lines
999 B
Makefile
33 lines
999 B
Makefile
# $NetBSD: Makefile,v 1.30 2006/07/04 15:29:34 drochner Exp $
|
|
|
|
DISTNAME= libtasn1-0.3.5
|
|
CATEGORIES= security devel
|
|
MASTER_SITES= http://josefsson.org/gnutls/releases/libtasn1/ \
|
|
ftp://ftp.gnutls.org/pub/gnutls/libtasn1/ \
|
|
ftp://ftp.gnupg.org/gcrypt/alpha/gnutls/libtasn1/ \
|
|
http://www.mirrors.wiretapped.net/security/network-security/gnutls/libtasn1/ \
|
|
ftp://ftp.mirrors.wiretapped.net/pub/security/network-security/gnutls/libtasn1/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.gnutls.org/
|
|
COMMENT= ASN.1 structure parser library
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
USE_TOOLS+= makeinfo
|
|
USE_LIBTOOL= yes
|
|
GNU_CONFIGURE= yes
|
|
TEST_TARGET= check
|
|
INFO_FILES= # PLIST
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
# Darwin has no prototype for getopt_long and no declaration for
|
|
# struct option, so ignore getopt_long() even though the test
|
|
# succeeds.
|
|
.if ${OPSYS} == "Darwin"
|
|
CONFIGURE_ENV+= ac_cv_func_getopt_long=no
|
|
CFLAGS+= -fno-common
|
|
.endif
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|