summaryrefslogtreecommitdiff
path: root/inputmethod/uim/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'inputmethod/uim/Makefile')
-rw-r--r--inputmethod/uim/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/inputmethod/uim/Makefile b/inputmethod/uim/Makefile
index 6d31d10a649..b72703fb5d1 100644
--- a/inputmethod/uim/Makefile
+++ b/inputmethod/uim/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.52 2011/07/21 13:05:57 obache Exp $
+# $NetBSD: Makefile,v 1.53 2011/09/14 16:57:41 hans Exp $
#
.include "../../inputmethod/uim/Makefile.common"
@@ -19,6 +19,12 @@ GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --disable-emacs
CONFIGURE_ARGS+= --with-libgcroots=installed
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "SunOS"
+MAKE_ENV+= SunOS_LDFLAGS="-shared -mimpure-text"
+CFLAGS.SunOS+= -std=c99 -D__EXTENSIONS__
+.endif
+
.include "options.mk"
PLIST_VARS+= editline