pkgsrc/security/gpgme/Makefile
reed 5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00

64 lines
1.6 KiB
Makefile

# $NetBSD: Makefile,v 1.42 2006/04/06 06:22:38 reed Exp $
#
DISTNAME= gpgme-1.0.3
PKGREVISION= 3
CATEGORIES= security
MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/gpgme/ \
ftp://ftp.gnupg.org/gcrypt/alpha/gpgme/
MAINTAINER= oishi@ims.ac.jp
HOMEPAGE= http://www.gnupg.org/gpgme.html
COMMENT= GnuPG Made Easy
DEPENDS+= gnupg>=1.2.2:../../security/gnupg
USE_LIBTOOL= YES
GNU_CONFIGURE= YES
PTHREAD_OPTS+= require
INFO_FILES= # PLIST
SUBST_CLASSES+= pthread
SUBST_FILES.pthread= gpgme/gpgme-config.in
SUBST_SED.pthread+= -e 's,@PTHREAD_LIBS@,${PTHREAD_LDFLAGS} ${PTHREAD_LIBS},g'
SUBST_SED.pthread+= -e 's,@PTHREAD_CFLAGS@,${PTHREAD_CFLAGS},g'
SUBST_STAGE.pthread= post-patch
PKG_OPTIONS_VAR= PKG_OPTIONS.gpgme
PKG_SUPPORTED_OPTIONS= gpgsm
.include "../../mk/bsd.options.mk"
LIBS.SunOS+= -lnsl -lsocket
# Avoid an ICE in gcc2 on sparc64
CONFIGURE_ENV+= F77=${FALSE:Q}
# getenv_r is not detected correctly. It will be found
# in either base system or librfuncs
CONFIGURE_ENV+= ac_cv_func_getenv_r=yes
TEST_TARGET= check
.include "../../mk/pthread.buildlink3.mk"
.if ${PTHREAD_TYPE} == "native"
CONFIGURE_ARGS+= --without-pth --without-pth-test
.endif
.include "../../security/libgpg-error/buildlink3.mk"
# we want the getenv_r() semantics of NetBSD-current
BUILDLINK_API_DEPENDS.librfuncs+= librfuncs>=1.0.7nb1
.include "../../devel/librfuncs/buildlink3.mk"
##
## Option to build with gpgsm. This provides SMIME support
##
.if !empty(PKG_OPTIONS:Mgpgsm)
. include "../../security/gnupg-devel/buildlink3.mk"
CONFIGURE_ARGS+= --with-gpgsm=${BUILDLINK_PREFIX.gnupg-devel}/bin/gpgsm
.else
CONFIGURE_ARGS+= --without-gpgsm
.endif
.include "../../mk/bsd.pkg.mk"