From 7ec4be00c562862453a3afb0f3688cf5300f5156 Mon Sep 17 00:00:00 2001 From: sbd Date: Sat, 3 Dec 2011 09:22:37 +0000 Subject: * Add devel/gdbm_compat buildlink on Linux. * Respect LDFLAGS. Bump PKGREVISION --- inputmethod/skktools/Makefile | 10 ++++++++-- inputmethod/skktools/distinfo | 3 ++- inputmethod/skktools/patches/patch-Makefile.in | 13 +++++++++++++ 3 files changed, 23 insertions(+), 3 deletions(-) create mode 100644 inputmethod/skktools/patches/patch-Makefile.in (limited to 'inputmethod') 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@ -- cgit v1.2.3