summaryrefslogtreecommitdiff
path: root/chat/atheme/Makefile
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2015-11-07 20:38:08 +0000
committerdholland <dholland@pkgsrc.org>2015-11-07 20:38:08 +0000
commit47db6d58261e2224e93337f5f3bd461a9fca585b (patch)
tree1a220a007e44f626d31c45b03ebf37e2eb060006 /chat/atheme/Makefile
parent702c0e3d326d7d2bb009100c849f9017d2c489b4 (diff)
downloadpkgsrc-47db6d58261e2224e93337f5f3bd461a9fca585b.tar.gz
The silly legacy crypt() from libcrypt doesn't exist on MacOS, so the
plugin for it doesn't build there; deploy a PLIST_VAR to account for this. No PKGREVISION bump as no package created (even without PKG_DEVELOPER) is different now.
Diffstat (limited to 'chat/atheme/Makefile')
-rw-r--r--chat/atheme/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/chat/atheme/Makefile b/chat/atheme/Makefile
index 11c71c686be..16e02f5a28c 100644
--- a/chat/atheme/Makefile
+++ b/chat/atheme/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2014/02/12 23:17:35 tron Exp $
+# $NetBSD: Makefile,v 1.11 2015/11/07 20:38:08 dholland Exp $
#
DISTNAME= atheme-services-3.0.4
@@ -38,6 +38,15 @@ FILES_SUBST+= ATHEME_GROUP=${ATHEME_GROUP}
.include "options.mk"
+.include "../../mk/bsd.prefs.mk"
+
+PLIST_VARS+= posixcrypt
+.if ${OPSYS} == "Darwin"
+PLIST.posixcrypt= no
+.else
+PLIST.posixcrypt= yes
+.endif
+
CFLAGS.SunOS+= -Dfaultcode_t=foo_faultcode_t -Dboolean_t=foo_boolean_t
CONFIGURE_ARGS+= --localstatedir=${VARBASE}