[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: VFlib
koizumi@sic.co.jp wrote:
> ですよねぇ。昔、FreeBSD でもよくなったような...
FreeBSD ports/japanese/vflibも同じ問題を抱えているはずなので、
reportお願いしますね :-)
Portsへのdiffじゃないけど、NetBSDのPackageへのdiffを参考までに。
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/japanese/vflib/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile 1999/09/03 05:43:00 1.2
+++ Makefile 1999/09/06 05:30:33
@@ -17,8 +17,10 @@
PLIST_SUBST+= VFLIB_VERSION=${VFLIB_VERSION} \
VFLIB_SO_VERSION=${VFLIB_VERSION:C/^2.//}
+USE_X11= yes
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
+MAKE_ENV+= LOCAL_LDFLAGS="${LDFLAGS}"
post-configure:
@${RM} -r ${WRKSRC}/libtool
@@ -33,8 +35,6 @@
.endfor
pre-install:
- @(cd ${WRKSRC}/tools; \
- ${INSTALL_SCRIPT} fmtest disol kban vfperf vftest ${PREFIX}/bin)
@(cd ${WRKSRC}; \
${MKDIR} ${PREFIX}/share/VFlib/${VFLIB_VERSION} ;\
${CP} COPYING COPYING.LIB README.txt.JP_EUC \
Index: patches/patch-aa
===================================================================
RCS file: /cvsroot/pkgsrc/japanese/vflib/patches/patch-aa,v
retrieving revision 1.2
diff -u -r1.2 patch-aa
--- patch-aa 1999/09/03 05:43:01 1.2
+++ patch-aa 1999/09/06 05:30:33
@@ -1,8 +1,9 @@
-$NetBSD: patch-aa,v 1.2 1999/09/03 05:43:01 sakamoto Exp $
+$NetBSD$
---- ./tools/Imakefile.in.orig Tue Oct 27 17:02:45 1998
-+++ ./tools/Imakefile.in Fri Aug 27 15:06:10 1999
-@@ -20,4 +20,8 @@
+--- tools/Imakefile.in.orig Tue Oct 27 17:02:45 1998
++++ tools/Imakefile.in Mon Sep 6 13:32:48 1999
+@@ -19,6 +19,10 @@
+ * copies.
*/
+ PREFIX ?= ${PREFIX}
@@ -11,3 +12,13 @@
+
LIBTOOL = ../libtool
VFLIB_INCDIR = ../src
+ VFLIB_LIBDIR = ../src
+@@ -28,7 +32,7 @@
+ PROGRAMS = disol kban ktest vfperf vftest fmtest
+ SRCS = disol.c kban.c ktest.c vfperf.c vftest.c fmtest.c
+ OBJS = disol.lo kban.lo ktest.lo vfperf.lo vftest.lo fmtest.lo
+- INSTALL_PROGRAMS = ktest
++ INSTALL_PROGRAMS = disol kban ktest vfperf vftest fmtest
+
+ default all:: $(PROGRAMS)
+ include ../make-sub
> ついでといってはなんですが、Makefile に USE_X11=yes を加えませんか?
加えました。 LDFLAGSみてないので、
MAKE_ENV+=LOCAL_LDFLAGS="${LDFLAGS}" も必要でした。
sakamoto
- Follow-Ups:
- Re: VFlib
- From: Noriyuki KOIZUMI <koizumi@sic.co.jp>
- References:
- Re: VFlib
- From: Noriyuki KOIZUMI <koizumi@sic.co.jp>