diff options
author | vanilla <vanilla@FreeBSD.org> | 2012-09-05 16:35:37 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2012-09-05 16:35:37 +0800 |
commit | 4f4a9dbe4d0208af812717df56b7ffe16cb57b88 (patch) | |
tree | 6efd526349e735b0d2578394d1f5532166386ecd | |
parent | 711f69631c7f6e890663d5bddce288b5ddd38830 (diff) | |
download | freebsd-ports-gnome-4f4a9dbe4d0208af812717df56b7ffe16cb57b88.tar.gz freebsd-ports-gnome-4f4a9dbe4d0208af812717df56b7ffe16cb57b88.tar.zst freebsd-ports-gnome-4f4a9dbe4d0208af812717df56b7ffe16cb57b88.zip |
fix build.
Obtained from: pointyhat@
-rw-r--r-- | chinese/gcin/Makefile | 2 | ||||
-rw-r--r-- | chinese/gcin/files/patch-modules_Makefile | 29 |
2 files changed, 30 insertions, 1 deletions
diff --git a/chinese/gcin/Makefile b/chinese/gcin/Makefile index 4d7502a5469b..26c6a4c40288 100644 --- a/chinese/gcin/Makefile +++ b/chinese/gcin/Makefile @@ -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 diff --git a/chinese/gcin/files/patch-modules_Makefile b/chinese/gcin/files/patch-modules_Makefile new file mode 100644 index 000000000000..6055b0ed5a25 --- /dev/null +++ b/chinese/gcin/files/patch-modules_Makefile @@ -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 |