summaryrefslogtreecommitdiff
path: root/chat
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
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')
-rw-r--r--chat/atheme/Makefile11
-rw-r--r--chat/atheme/PLIST4
2 files changed, 12 insertions, 3 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}
diff --git a/chat/atheme/PLIST b/chat/atheme/PLIST
index 6460cf5b69f..9f43eaa04a5 100644
--- a/chat/atheme/PLIST
+++ b/chat/atheme/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2014/03/11 14:04:58 jperkin Exp $
+@comment $NetBSD: PLIST,v 1.4 2015/11/07 20:38:08 dholland Exp $
bin/atheme-services
lib/atheme/modules/backend/flatfile.so
lib/atheme/modules/chanserv/akick.so
@@ -40,7 +40,7 @@ lib/atheme/modules/chanserv/voice.so
lib/atheme/modules/chanserv/why.so
lib/atheme/modules/chanserv/xop.so
lib/atheme/modules/crypto/ircservices.so
-lib/atheme/modules/crypto/posix.so
+${PLIST.posixcrypt}lib/atheme/modules/crypto/posix.so
lib/atheme/modules/crypto/sorservices.so
lib/atheme/modules/gameserv/dice.so
lib/atheme/modules/gameserv/eightball.so