freebsd-ports/textproc/openvanilla-modules/files/patch-Modules-OVIMSpaceChewing-Makefile

14 lines
642 B
Text
Raw Normal View History

--- Modules/OVIMSpaceChewing/Makefile.orig Mon May 14 14:23:34 2007
+++ Modules/OVIMSpaceChewing/Makefile Tue May 15 22:20:23 2007
@@ -31,8 +31,8 @@
MODULEID=OVIMSpaceChewing
SOURCES=OVIMSpaceChewing
-LIBCHEWING_PREFIX?=/usr/local
-LIBCHEWING_VERSION?=$(shell perl -n -e 'print "$$1\n" if /Version: (.+)/' < $(LIBCHEWING_PREFIX)/lib/pkgconfig/chewing.pc)
+LIBCHEWING_PREFIX?=${LOCALBASE}
+LIBCHEWING_VERSION?=$(shell perl -n -e 'print "$$1\n" if /Version: (.+)/' < $(LIBCHEWING_PREFIX)/libdata/pkgconfig/chewing.pc)
DATA=$(LIBCHEWING_PREFIX)/share/chewing/ch_index.dat \
$(LIBCHEWING_PREFIX)/share/chewing/dict.dat \