blob: cb169186e81eeb79353811b3041866a120959406 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# $NetBSD: Makefile,v 1.40 2009/02/02 11:58:47 tron Exp $
DISTNAME= libtasn1-1.8
CATEGORIES= security devel
MASTER_SITES= ${MASTER_SITE_GNU:=gnutls/} \
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= yes
#LICENSE= gnu-lgpl-v2.1 and gnu-gpl-3.0
.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"
|