aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2014-04-25 02:31:48 +0800
committertijl <tijl@FreeBSD.org>2014-04-25 02:31:48 +0800
commit88549f5d0d342828e87fe0471305f4739f84594c (patch)
treefdd3f7c4856d636c783ae7c6fe28c7b0acdac45c /japanese
parent41300562edce10c1ced8aaf8c930ef5bda88a001 (diff)
downloadfreebsd-ports-gnome-88549f5d0d342828e87fe0471305f4739f84594c.tar.gz
freebsd-ports-gnome-88549f5d0d342828e87fe0471305f4739f84594c.tar.zst
freebsd-ports-gnome-88549f5d0d342828e87fe0471305f4739f84594c.zip
- Convert to USES=libtool.
- Remove references to PTHREAD_CFLAGS and PTHREAD_LIBS. - Staging. - Fix build with clang.
Diffstat (limited to 'japanese')
-rw-r--r--japanese/scim-honoka/Makefile16
-rw-r--r--japanese/scim-honoka/files/patch-libhonoka-honokatimer.cpp10
-rw-r--r--japanese/scim-honoka/pkg-plist1
3 files changed, 14 insertions, 13 deletions
diff --git a/japanese/scim-honoka/Makefile b/japanese/scim-honoka/Makefile
index c4c64cf56d8e..30217ea6852b 100644
--- a/japanese/scim-honoka/Makefile
+++ b/japanese/scim-honoka/Makefile
@@ -3,7 +3,7 @@
PORTNAME= scim-honoka
PORTVERSION= 0.9.1
-PORTREVISION= 10
+PORTREVISION= 11
CATEGORIES= japanese
MASTER_SITES= http://nop.net-p.org/files/honoka/
DISTNAME= honoka-${PORTVERSION}
@@ -14,21 +14,11 @@ COMMENT= SCIM IMEngine module using various input methods
BUILD_DEPENDS= scim:${PORTSDIR}/textproc/scim
RUN_DEPENDS:= ${BUILD_DEPENDS}
+GNU_CONFIGURE= yes
+USES= gettext gmake iconv libtool:keepla pathfix pkgconfig
USE_LDCONFIG= yes
-USES= gettext iconv pathfix gmake pkgconfig
-USE_GNOME= lthack
-USE_AUTOTOOLS= libtool
-
-CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
- PTHREAD_LIBS="${PTHREAD_LIBS}"
CPPFLAGS+= -I${LOCALBASE}/include -D__STDC_ISO_10646__
LDFLAGS+= -L${LOCALBASE}/lib
-NO_STAGE= yes
-post-install:
- @${ECHO_CMD}
- @${CAT} ${PKGMESSAGE}
- @${ECHO_CMD}
-
.include <bsd.port.mk>
diff --git a/japanese/scim-honoka/files/patch-libhonoka-honokatimer.cpp b/japanese/scim-honoka/files/patch-libhonoka-honokatimer.cpp
new file mode 100644
index 000000000000..8123f00b8cf2
--- /dev/null
+++ b/japanese/scim-honoka/files/patch-libhonoka-honokatimer.cpp
@@ -0,0 +1,10 @@
+--- libhonoka/honokatimer.cpp.orig
++++ libhonoka/honokatimer.cpp
+@@ -21,6 +21,7 @@
+ #include "honokatimer.h"
+ #include <signal.h>
+ #include <sys/wait.h>
++#include <unistd.h>
+
+ using namespace Honoka;
+
diff --git a/japanese/scim-honoka/pkg-plist b/japanese/scim-honoka/pkg-plist
index 0f31de5461e3..6bfa317e53bd 100644
--- a/japanese/scim-honoka/pkg-plist
+++ b/japanese/scim-honoka/pkg-plist
@@ -2,6 +2,7 @@ lib/libhonoka_plugin.a
lib/libhonoka_plugin.la
lib/libhonoka_plugin.so
lib/libhonoka_plugin.so.0
+lib/libhonoka_plugin.so.0.0.0
lib/scim-1.0/1.4.0/IMEngine/honoka.a
lib/scim-1.0/1.4.0/IMEngine/honoka.la
lib/scim-1.0/1.4.0/IMEngine/honoka.so