pkgsrc/security/libtasn1/Makefile
tonio 025b713ed7 Build using -fno-common under Darwin, it is needed to be able to long gnutls
against libtasn1
bump pkgrevisoin, and the binary package changed on Darwin
2006-05-21 00:45:13 +00:00

33 lines
960 B
Makefile

# $NetBSD: Makefile,v 1.29 2006/05/21 00:45:13 tonio Exp $
DISTNAME= libtasn1-0.3.4
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= 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"