summaryrefslogtreecommitdiff
path: root/comms/asterisk18/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'comms/asterisk18/Makefile')
-rw-r--r--comms/asterisk18/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/comms/asterisk18/Makefile b/comms/asterisk18/Makefile
index cfbcbdbfd27..7f5edab40ac 100644
--- a/comms/asterisk18/Makefile
+++ b/comms/asterisk18/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2012/02/12 20:16:31 jnemeth Exp $
+# $NetBSD: Makefile,v 1.25 2012/02/16 16:33:36 hans Exp $
#
# NOTE: when updating this package, there are two places that sound
# tarballs need to be checked
@@ -90,6 +90,15 @@ MAKE_FLAGS+= LDOPTS=${LDFLAGS:M*:Q}
MAKE_FLAGS+= HTTP_DOCSDIR=${PREFIX}/share/httpd/htdocs
MAKE_FLAGS+= HTTP_CGIDIR=${PREFIX}/libexec/cgi-bin
+.if !empty(MACHINE_PLATFORM:MSunOS-*-i386)
+BUILDLINK_TRANSFORM+= rm:-march=i386
+.endif
+
+PLIST_VARS+= kqueue
+.if ${OPSYS} != "SunOS"
+PLIST.kqueue= yes
+.endif
+
.include "options.mk"
# check sounds/Makefile for current version when upgrading package