diff options
-rw-r--r-- | chat/atheme/Makefile | 11 | ||||
-rw-r--r-- | chat/atheme/PLIST | 4 |
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 |