| @@ -1,35 +1,37 @@ | | | @@ -1,35 +1,37 @@ |
1 | # $NetBSD: Makefile,v 1.43 2009/07/18 13:11:57 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.44 2009/08/09 08:02:07 wiz Exp $ |
2 | | | 2 | |
3 | DISTNAME= libtasn1-2.2 | | 3 | DISTNAME= libtasn1-2.3 |
4 | CATEGORIES= security devel | | 4 | CATEGORIES= security devel |
5 | MASTER_SITES= ${MASTER_SITE_GNU:=gnutls/} \ | | 5 | MASTER_SITES= ${MASTER_SITE_GNU:=libtasn1/} |
6 | ftp://ftp.gnutls.org/pub/gnutls/libtasn1/ \ | | | |
7 | ftp://ftp.gnupg.org/gcrypt/alpha/gnutls/libtasn1/ | | | |
8 | | | 6 | |
9 | MAINTAINER= pkgsrc-users@NetBSD.org | | 7 | MAINTAINER= pkgsrc-users@NetBSD.org |
10 | HOMEPAGE= http://www.gnutls.org/ | | 8 | HOMEPAGE= http://www.gnu.org/software/libtasn1/ |
11 | COMMENT= ASN.1 structure parser library | | 9 | COMMENT= ASN.1 structure parser library |
12 | LICENSE= gnu-fdl-v1.3 AND gnu-lgpl-v2.1 AND gnu-gpl-v3 | | 10 | LICENSE= gnu-fdl-v1.3 AND gnu-lgpl-v2.1 AND gnu-gpl-v3 |
13 | | | 11 | |
14 | PKG_INSTALLATION_TYPES= overwrite pkgviews | | 12 | PKG_INSTALLATION_TYPES= overwrite pkgviews |
15 | PKG_DESTDIR_SUPPORT= user-destdir | | 13 | PKG_DESTDIR_SUPPORT= user-destdir |
16 | | | 14 | |
17 | USE_TOOLS+= makeinfo | | 15 | USE_TOOLS+= makeinfo |
18 | USE_LIBTOOL= yes | | 16 | USE_LIBTOOL= yes |
19 | GNU_CONFIGURE= yes | | 17 | GNU_CONFIGURE= yes |
20 | TEST_TARGET= check | | 18 | TEST_TARGET= check |
21 | INFO_FILES= yes | | 19 | INFO_FILES= yes |
22 | | | 20 | |
| | | 21 | CONFIGURE_ARGS+= --with-packager="pkgsrc" |
| | | 22 | CONFIGURE_ARGS+= --with-packager-version="${PKGVERSION}" |
| | | 23 | CONFIGURE_ARGS+= --with-packager-bug-reports="http://gnats.NetBSD.org/" |
| | | 24 | |
23 | .include "../../mk/bsd.prefs.mk" | | 25 | .include "../../mk/bsd.prefs.mk" |
24 | # Mac OS X has no prototype for getopt_long and no declaration for | | 26 | # Mac OS X has no prototype for getopt_long and no declaration for |
25 | # struct option, so ignore getopt_long() even though the test succeeds. | | 27 | # struct option, so ignore getopt_long() even though the test succeeds. |
26 | .if ${OPSYS} == "Darwin" | | 28 | .if ${OPSYS} == "Darwin" |
27 | CONFIGURE_ENV+= ac_cv_func_getopt_long=no | | 29 | CONFIGURE_ENV+= ac_cv_func_getopt_long=no |
28 | CFLAGS+= -fno-common | | 30 | CFLAGS+= -fno-common |
29 | | | 31 | |
30 | # The "gnu" library ends up being empty and Mac OS X's "ar" doesn't like | | 32 | # The "gnu" library ends up being empty and Mac OS X's "ar" doesn't like |
31 | # to create empty archives. Just don't build the library. | | 33 | # to create empty archives. Just don't build the library. |
32 | SUBST_CLASSES+= gllib | | 34 | SUBST_CLASSES+= gllib |
33 | SUBST_STAGE.gllib= post-configure | | 35 | SUBST_STAGE.gllib= post-configure |
34 | SUBST_FILES.gllib= lib/Makefile | | 36 | SUBST_FILES.gllib= lib/Makefile |
35 | SUBST_SED.gllib= -e "s/SUBDIRS = gllib//" | | 37 | SUBST_SED.gllib= -e "s/SUBDIRS = gllib//" |