aboutsummaryrefslogtreecommitdiff
path: root/japanese/libslang
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2007-04-20 19:02:11 +0000
committerRong-En Fan <rafan@FreeBSD.org>2007-04-20 19:02:11 +0000
commit1845716619a622b9e878e46c49161432c1250286 (patch)
tree8df1aa2c631ddfa2cc43f74c4aea1720629336ba /japanese/libslang
parent1a5faccf981c597eb285c723c4e052ab5647d1bb (diff)
downloadports-1845716619a622b9e878e46c49161432c1250286.tar.gz
ports-1845716619a622b9e878e46c49161432c1250286.zip
- Fix build with gcc4
- Replace deprecated variable: INSTALLS_SHLIB - Pet portlint(1) PR: ports/111283 Submitted by: rafan Approved by: maintainer timeout (14 days)
Notes
Notes: svn path=/head/; revision=190457
Diffstat (limited to 'japanese/libslang')
-rw-r--r--japanese/libslang/Makefile3
-rw-r--r--japanese/libslang/files/patch-src-slkanji.h10
2 files changed, 11 insertions, 2 deletions
diff --git a/japanese/libslang/Makefile b/japanese/libslang/Makefile
index fa18ffe838f9..aff82f593d97 100644
--- a/japanese/libslang/Makefile
+++ b/japanese/libslang/Makefile
@@ -11,7 +11,6 @@ CATEGORIES= japanese devel
MASTER_SITES= http://www.emaillab.org/mutt/tools/ \
http://my.reset.jp/~iwashita/mutt/distfiles/ \
http://www.actweb.ne.jp/k-yosino/
-
DISTNAME= slang-${VERSION}jp${JP_VERSION}
MAINTAINER= iwashita@cqmail.net
@@ -26,7 +25,7 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --includedir=${PREFIX}/include/slang
ALL_TARGET= all elf
INSTALL_TARGET= install-elf
-INSTALLS_SHLIB= yes
+USE_LDCONFIG= yes
post-install:
${INSTALL_DATA} ${WRKSRC}/slang-j.doc ${PREFIX}/share/doc/slang
diff --git a/japanese/libslang/files/patch-src-slkanji.h b/japanese/libslang/files/patch-src-slkanji.h
new file mode 100644
index 000000000000..e5edc3f46342
--- /dev/null
+++ b/japanese/libslang/files/patch-src-slkanji.h
@@ -0,0 +1,10 @@
+--- src/slkanji.h.orig Fri Apr 6 03:48:00 2007
++++ src/slkanji.h Fri Apr 6 03:48:03 2007
+@@ -48,7 +48,6 @@
+ #define NULL 0
+ #endif
+
+-extern char *Kcode[];
+ extern int kSLfiAuto, SKanaToDKana;
+ extern int kSLcode;
+ extern int kSLfile_code, kSLinput_code, kSLdisplay_code, kSLsystem_code;