pkgsrc/security/libtasn1/Makefile

32 lines
863 B
Makefile

# $NetBSD: Makefile,v 1.33 2007/12/02 12:22:45 wiz Exp $
DISTNAME= libtasn1-0.3.9
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/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnutls.org/
COMMENT= ASN.1 structure parser library
PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir
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"