summaryrefslogtreecommitdiff
path: root/security/gnupg/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/gnupg/Makefile')
-rw-r--r--security/gnupg/Makefile17
1 files changed, 9 insertions, 8 deletions
diff --git a/security/gnupg/Makefile b/security/gnupg/Makefile
index 3dd44b887d5..f653a7e1d75 100644
--- a/security/gnupg/Makefile
+++ b/security/gnupg/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2002/07/18 20:44:52 heinz Exp $
+# $NetBSD: Makefile,v 1.33 2002/08/25 21:50:36 jlam Exp $
#
DISTNAME= gnupg-1.0.7
@@ -13,7 +13,7 @@ HOMEPAGE= http://www.gnupg.org/
COMMENT= Privacy Guard, a public-Key encryption and digital signature utility
BUILD_USES_MSGFMT= yes
-USE_BUILDLINK_ONLY= yes
+USE_BUILDLINK2= yes
CRYPTO= yes
GNU_CONFIGURE= yes
@@ -36,19 +36,20 @@ EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
PLIST_SUBST+= IDEA=""
post-extract:
- ${CP} ${_DISTDIR}/idea.c.20010605 ${WRKSRC}/idea.c
+ ${CP} ${_DISTDIR}/idea.c.20010605 ${WRKSRC}/idea.c
post-build:
- cd ${WRKSRC} && \
- ${CC} ${CFLAGS} -shared -Wl,-Bshareable -fPIC -o idea idea.c
+ cd ${WRKSRC} && \
+ ${BUILDLINK_CC} ${CFLAGS} -shared -Wl,-Bshareable -fPIC -o idea idea.c
post-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/idea ${PREFIX}/lib/gnupg
+ ${INSTALL_PROGRAM} ${WRKSRC}/idea ${PREFIX}/lib/gnupg
.else
PLIST_SUBST+= IDEA="@comment "
.endif
-.include "../../devel/gettext-lib/buildlink.mk"
-.include "../../devel/zlib/buildlink.mk"
+.include "../../devel/gettext-lib/buildlink2.mk"
+.include "../../devel/zlib/buildlink2.mk"
+
.include "../../mk/texinfo.mk"
.include "../../mk/bsd.pkg.mk"