summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inputmethod/skktools/Makefile10
-rw-r--r--inputmethod/skktools/distinfo3
-rw-r--r--inputmethod/skktools/patches/patch-Makefile.in13
3 files changed, 23 insertions, 3 deletions
diff --git a/inputmethod/skktools/Makefile b/inputmethod/skktools/Makefile
index ec7e715e0e9..605a5843f85 100644
--- a/inputmethod/skktools/Makefile
+++ b/inputmethod/skktools/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2011/04/22 14:40:43 obache Exp $
+# $NetBSD: Makefile,v 1.4 2011/12/03 09:22:37 sbd Exp $
#
DISTNAME= skktools-1.3.1
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= japanese inputmethod
MASTER_SITES= http://openlab.ring.gr.jp/skk/tools/
@@ -24,4 +24,10 @@ SUBST_STAGE.prefix= pre-configure
SUBST_FILES.prefix= configure
SUBST_SED.prefix= -e 's|/usr/local|${PREFIX}|g'
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "Linux"
+.include "../../databases/gdbm_compat/buildlink3.mk"
+.endif
+
.include "../../mk/bsd.pkg.mk"
diff --git a/inputmethod/skktools/distinfo b/inputmethod/skktools/distinfo
index eac156a574f..d7f49a77953 100644
--- a/inputmethod/skktools/distinfo
+++ b/inputmethod/skktools/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2010/07/17 08:36:41 obache Exp $
+$NetBSD: distinfo,v 1.2 2011/12/03 09:22:37 sbd Exp $
SHA1 (skktools-1.3.1.tar.gz) = 13939bf5533a7d2711724e98ea4dae99a7eac01b
RMD160 (skktools-1.3.1.tar.gz) = 506ee66cab8d302d267436be36e24aeab8cc7d76
Size (skktools-1.3.1.tar.gz) = 290215 bytes
+SHA1 (patch-Makefile.in) = e0fd23040781df6dcab97ade30f6f04a373eeee3
diff --git a/inputmethod/skktools/patches/patch-Makefile.in b/inputmethod/skktools/patches/patch-Makefile.in
new file mode 100644
index 00000000000..6cd804704bf
--- /dev/null
+++ b/inputmethod/skktools/patches/patch-Makefile.in
@@ -0,0 +1,13 @@
+$NetBSD: patch-Makefile.in,v 1.1 2011/12/03 09:22:37 sbd Exp $
+
+--- Makefile.in.orig 2007-09-21 23:32:51.000000000 +0000
++++ Makefile.in
+@@ -56,7 +56,7 @@ bindir = $(exec_prefix)/bin
+
+ EXEEXT= @EXEEXT@
+
+-DEFS = -I. -I$(srcdir) -I$(top_srcdir) $(CFLAGS)
++DEFS = -I. -I$(srcdir) -I$(top_srcdir) $(CFLAGS) $(LDFLAGS)
+
+ SNAPBASE = skktools-`$(DATE) '+%Y%m%d'`
+ TARGETS = skkdic-expr$(EXEEXT) skkdic-sort$(EXEEXT) skkdic-count$(EXEEXT) @SKKDIC_EXPR2@