pkgsrc/security/libtasn1/Makefile
wiz b92c5ccc4d Update to 2.6:
* Noteworthy changes in release 2.6 (2010-04-20) [stable]
- Fix build failure on platforms without support for GNU LD version scripts.
- libtasn1: Simplified implementation of asn1_check_version.
- tests: Improved self-checks.
- Update gnulib files, fix many syntax-check nits, indent code,
  fix license templates.
2010-05-02 11:54:12 +00:00

40 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.47 2010/05/02 11:54:12 wiz Exp $
DISTNAME= libtasn1-2.6
CATEGORIES= security devel
MASTER_SITES= ${MASTER_SITE_GNU:=libtasn1/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/libtasn1/
COMMENT= ASN.1 structure parser library
LICENSE= gnu-fdl-v1.3 AND gnu-lgpl-v2.1 AND gnu-gpl-v3
PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= makeinfo
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
TEST_TARGET= check
INFO_FILES= yes
CONFIGURE_ARGS+= --with-packager="pkgsrc"
CONFIGURE_ARGS+= --with-packager-version="${PKGVERSION}"
CONFIGURE_ARGS+= --with-packager-bug-reports="http://gnats.NetBSD.org/"
.include "../../mk/bsd.prefs.mk"
# Mac OS X 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
# The "gnu" library ends up being empty and Mac OS X's "ar" doesn't like
# to create empty archives. Just don't build the library.
SUBST_CLASSES+= gllib
SUBST_STAGE.gllib= post-configure
SUBST_FILES.gllib= lib/Makefile
SUBST_SED.gllib= -e "s/SUBDIRS = gllib//"
.endif
.include "../../mk/bsd.pkg.mk"