svn commit: r303690 - in head/chinese/gcin: . files
Vanilla I. Shu
vanilla at FreeBSD.org
Wed Sep 5 08:35:38 UTC 2012
Author: vanilla
Date: Wed Sep 5 08:35:37 2012
New Revision: 303690
URL: http://svn.freebsd.org/changeset/ports/303690
Log:
fix build.
Obtained from: pointyhat@
Added:
head/chinese/gcin/files/patch-modules_Makefile (contents, props changed)
Modified:
head/chinese/gcin/Makefile
Modified: head/chinese/gcin/Makefile
==============================================================================
--- head/chinese/gcin/Makefile Wed Sep 5 08:02:32 2012 (r303689)
+++ head/chinese/gcin/Makefile Wed Sep 5 08:35:37 2012 (r303690)
@@ -7,7 +7,7 @@
PORTNAME= gcin
PORTVERSION= 2.7.8
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= chinese textproc gnome
MASTER_SITES= http://www.csie.nctu.edu.tw/~cp76/gcin/download/:main
DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}:main
Added: head/chinese/gcin/files/patch-modules_Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/chinese/gcin/files/patch-modules_Makefile Wed Sep 5 08:35:37 2012 (r303690)
@@ -0,0 +1,29 @@
+--- modules/Makefile.orig 2012-09-05 15:46:26.000000000 +0800
++++ modules/Makefile 2012-09-05 15:49:16.000000000 +0800
+@@ -3,15 +3,18 @@ include ../suffixes-rule
+
+ CFLAGS+=-I.. -I../IMdkit/include
+ GCIN_MODULE=intcode-module.so
++SOURCES=intcode.cpp win-int.cpp
+
+ ifeq ($(USE_ANTHY),Y)
+ GCIN_MODULE+=anthy-module.so
++SOURCES+=anthy.cpp
+ endif
+
+ ifeq ($(USE_CHEWING),Y)
+ GCIN_MODULE+=chewing-module.so
+ CHEWING_DATADIR=$(shell pkg-config --variable=datadir chewing)
+ CFLAGS += -DCHEWING_DATADIR=\"$(CHEWING_DATADIR)\"
++SOURCES+=chewing-conf.cpp chewing.cpp gcin-setup-chewing.cpp
+ endif
+
+ all: $(GCIN_MODULE)
+@@ -35,6 +38,6 @@ install:
+ clean:
+ rm -f *.pico *.so *.o .depend
+ .depend:
+- $(CCX) $(CFLAGS) -MM *.cpp > $@
++ $(CCX) $(CFLAGS) -MM $(SOURCES) > $@
+
+ include .depend
More information about the svn-ports-head
mailing list