1 # $NetBSD: Makefile,v 1.18 2011/04/22 13:42:48 obache Exp $
4 DISTNAME= libassuan-1.0.5
7 MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/libassuan/
10 MAINTAINER= shannonjr@NetBSD.org
11 HOMEPAGE= ftp://ftp.gnupg.org/gcrypt/libassuan/
12 COMMENT= The IPC library used by some GnuPG related software
14 PKG_INSTALLATION_TYPES= overwrite pkgviews
15 PKG_DESTDIR_SUPPORT= user-destdir
19 USE_TOOLS+= autoconf autoreconf automake
22 ### XXX By default, this package will build with -fPIC on linux.
23 ### Instead, let's patch it to use libtool and use --with-pic
24 ### to build position-independent code when possible.
25 CONFIGURE_ARGS+= --with-pic
30 BUILDLINK_API_DEPENDS.libgpg-error+= libgpg-error>=1.0.0
33 cd ${WRKSRC} && libtoolize
35 ${SETENV} ${CONFIGURE_ENV} ${CONFIG_SHELL} autogen.sh
37 .include "../../security/libgpg-error/buildlink3.mk"
38 .include "../../mk/bsd.pkg.mk"