aboutsummaryrefslogtreecommitdiff
path: root/japanese/kasumi
diff options
context:
space:
mode:
authorMANTANI Nobutaka <nobutaka@FreeBSD.org>2005-06-06 16:15:50 +0000
committerMANTANI Nobutaka <nobutaka@FreeBSD.org>2005-06-06 16:15:50 +0000
commitb4341947d5502b770c9c1ac829b3ad433daa14ff (patch)
tree642749aab6b01a44f54b92ac9b65c4b19409dd32 /japanese/kasumi
parent6ab46a4325e39b25f620253fa6bb00368ff59ea6 (diff)
downloadports-b4341947d5502b770c9c1ac829b3ad433daa14ff.tar.gz
ports-b4341947d5502b770c9c1ac829b3ad433daa14ff.zip
Notes
Diffstat (limited to 'japanese/kasumi')
-rw-r--r--japanese/kasumi/Makefile15
-rw-r--r--japanese/kasumi/files/patch-KasumiException.hxx11
2 files changed, 17 insertions, 9 deletions
diff --git a/japanese/kasumi/Makefile b/japanese/kasumi/Makefile
index 4b2e1a338854..0e63742eb0fc 100644
--- a/japanese/kasumi/Makefile
+++ b/japanese/kasumi/Makefile
@@ -17,9 +17,12 @@ COMMENT= A dictionary management tool for anthy
USE_X_PREFIX= yes
USE_GNOME= gnomehier gtk20
+USE_GETOPT_LONG= yes
GNU_CONFIGURE= yes
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+
+CPPFLAGS= -I${LOCALBASE}/include
+LDFLAGS= -L${LOCALBASE}/lib
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+=--disable-nls
@@ -29,10 +32,4 @@ USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.endif
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500000
-BROKEN= "Does not compile on FreeBSD 4.x"
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/japanese/kasumi/files/patch-KasumiException.hxx b/japanese/kasumi/files/patch-KasumiException.hxx
new file mode 100644
index 000000000000..f4497c682f16
--- /dev/null
+++ b/japanese/kasumi/files/patch-KasumiException.hxx
@@ -0,0 +1,11 @@
+--- KasumiException.hxx.orig Fri Jan 7 23:18:09 2005
++++ KasumiException.hxx Sun May 22 19:58:45 2005
+@@ -5,6 +5,8 @@
+ #include "config.h"
+ #endif
+
++#include <string>
++
+ using namespace std;
+
+ class KasumiDicExaminationException{