summaryrefslogtreecommitdiff
path: root/security/dirmngr/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/dirmngr/Makefile')
-rw-r--r--security/dirmngr/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/security/dirmngr/Makefile b/security/dirmngr/Makefile
index 3d286d1174c..f61e98273de 100644
--- a/security/dirmngr/Makefile
+++ b/security/dirmngr/Makefile
@@ -1,10 +1,13 @@
-# $NetBSD: Makefile,v 1.4 2005/01/04 13:40:38 shannonjr Exp $
+# $NetBSD: Makefile,v 1.5 2005/03/02 14:59:35 shannonjr Exp $
#
DISTNAME= dirmngr-0.9.0
-#PKGREVISION= 1
+PKGREVISION= 1
CATEGORIES= security
MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/alpha/dirmngr/
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
+DISTFILES+= pth-2.0.3.tar.gz
+SITES_pth-2.0.3.tar.gz= ${MASTER_SITE_GNU:=pth/}
MAINTAINER= shannonjr@NetBSD.org
HOMEPAGE= http://www.gnupg.org/aegypten2
@@ -24,6 +27,7 @@ USE_PKGLOCALEDIR= yes
CONFIGURE_ARGS+= --localstatedir="${VARBASE}"
CONFIGURE_ARGS+= --sharedstatedir="${VARBASE}"
CONFIGURE_ENV+= BUILDLINK_PREFIX_openldap=${BUILDLINK_PREFIX.openldap}
+CONFIGURE_ARGS+= --with-pth-prefix=${WRKDIR}/pth
SUBST_FILES+= VARBASE=${VARBASE}
SUBST_FILES+= PREFIX=${PREFIX}
@@ -31,6 +35,10 @@ SUBST_FILES+= SYSCONFDIR=${SYSCONFDIR}
SUBST_FILES+= DIRMNGR_USER=${DIRMNGR_USER}
SUBST_FILES+= DIRMNGR_PATH=${DIRMNGR_PATH}
+# We are building a static pth library and linking against it
+pre-configure:
+ cd ${WRKDIR}/pth-2.0.3 && ./configure --prefix=${WRKDIR}/pth --enable-pthread --enable-static --disable-shared && ${MAKE} install
+
pre-build:
${CP} ${FILESDIR}/runDirmngr.c ${WRKDIR}/runDirmngr.c
@@ -53,7 +61,6 @@ post-install:
INFO_FILES= dirmngr.info
-.include "../../devel/pth/buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../databases/openldap/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"