pkgsrc/inputmethod/ja-freewnn-lib/patches/patch-ad
yyamano b080390556 Make this build on Darwin.
Apply the fixes suggested by Tadashi G. Takaoka on tech-pkg-ja@jp.n.o.
2006-05-02 08:00:08 +00:00

23 lines
555 B
Text

$NetBSD: patch-ad,v 1.5 2006/05/02 08:00:08 yyamano Exp $
--- configure.in.orig Tue Apr 6 12:12:19 1999
+++ configure.in
@@ -54,12 +54,17 @@
CPP=/lib/cpp
fi
;;
-"FreeBSD")
+"FreeBSD" | "OpenBSD")
CCOPTIONS="-DCSRG_BASED"
CDEBUGFLAGS="-O2 -fno-strength-reduce"
if test -x /usr/libexec/cpp; then
CPP=/usr/libexec/cpp
fi
+ ;;
+"NetBSD" | "DragonFly" | "Darwin")
+ CCOPTIONS="-DCSRG_BASED"
+ CDEBUGFLAGS="-O2 -fno-strength-reduce"
+ CPP=/usr/bin/cpp
;;
"SunOS")
if test $CC = gcc; then