summaryrefslogtreecommitdiff
path: root/comms/asterisk16/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'comms/asterisk16/Makefile')
-rw-r--r--comms/asterisk16/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/comms/asterisk16/Makefile b/comms/asterisk16/Makefile
index 0c05f2add22..8e72d622e93 100644
--- a/comms/asterisk16/Makefile
+++ b/comms/asterisk16/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.37 2012/01/17 02:12:52 jnemeth Exp $
+# $NetBSD: Makefile,v 1.38 2012/02/16 16:30:03 hans Exp $
#
# NOTE: when updating this package, there are two places that sound
# tarballs need to be checked
@@ -91,6 +91,10 @@ 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
+
.include "options.mk"
# check sounds/Makefile for current version when upgrading package