summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2019-08-07 13:52:44 +0000
committernia <nia@pkgsrc.org>2019-08-07 13:52:44 +0000
commitac79daee9314ce8b607b23d9c47787483018d81b (patch)
tree83c00e0c84c6178f9f8dc553d5294c385dd2dc09
parent8d447c1f136a93a074a49484d2aae534490ec19f (diff)
downloadpkgsrc-ac79daee9314ce8b607b23d9c47787483018d81b.tar.gz
unrealircd: Avoid building the internal copy of Argon2.
The pkgsrc version was being used, but not being detected properly by configure. I'm guessing the configure script is assuming Debian version numbers or something.
-rw-r--r--chat/unrealircd/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/chat/unrealircd/Makefile b/chat/unrealircd/Makefile
index 96d74a92655..93f2b5000fc 100644
--- a/chat/unrealircd/Makefile
+++ b/chat/unrealircd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.63 2019/08/07 13:30:37 nia Exp $
+# $NetBSD: Makefile,v 1.64 2019/08/07 13:52:44 nia Exp $
DISTNAME= unrealircd-4.2.4.1
PKGREVISION= 1
@@ -17,6 +17,12 @@ USE_TOOLS+= gmake gunzip pkg-config
.include "options.mk"
+SUBST_CLASSES+= argon2
+SUBST_STAGE.argon2= pre-configure
+SUBST_MESSAGE.argon2= Fixing Argon2 version number
+SUBST_FILES.argon2+= configure
+SUBST_SED.argon2+= -e 's|0~20161029|ZERO|g'
+
PKG_SYSCONFSUBDIR= unrealircd
# Quoth ./configure,