pkgsrc/security/libtasn1/Makefile
grant 7d3b1a90b3 ignore getopt_long() on Darwin because there is no prototype for it,
nor declaration for "struct option".

fixes build on Darwin.
2004-12-18 18:51:39 +00:00

30 lines
894 B
Makefile

# $NetBSD: Makefile,v 1.13 2004/12/18 18:51:39 grant Exp $
DISTNAME= libtasn1-0.2.10
PKGREVISION= 1
CATEGORIES= security devel
MASTER_SITES= 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= tech-pkg@NetBSD.org
HOMEPAGE= http://www.gnutls.org/
COMMENT= ASN.1 structure parser library
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_BUILDLINK3= YES
USE_LIBTOOL= YES
GNU_CONFIGURE= YES
.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
.endif
.include "../../mk/bsd.pkg.mk"