aboutsummaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2010-06-30 02:15:08 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2010-06-30 02:15:08 +0000
commit50f53b89b6edc6b4633291965d3f28ba6ce9fd1c (patch)
tree378dcef05e5b9de3508042264a43ac3a0c1b9b1e /chinese
parentec6f63e60b558f4e21d8399374fe6b9163065704 (diff)
downloadports-50f53b89b6edc6b4633291965d3f28ba6ce9fd1c.tar.gz
ports-50f53b89b6edc6b4633291965d3f28ba6ce9fd1c.zip
Notes
Diffstat (limited to 'chinese')
-rw-r--r--chinese/autoconvert/Makefile1
-rw-r--r--chinese/autoconvert/files/patch-Makefile10
-rw-r--r--chinese/autoconvert/files/patch-hzconvert-Makefile9
3 files changed, 10 insertions, 10 deletions
diff --git a/chinese/autoconvert/Makefile b/chinese/autoconvert/Makefile
index 6534de2de9e4..8e4df97a05ac 100644
--- a/chinese/autoconvert/Makefile
+++ b/chinese/autoconvert/Makefile
@@ -7,6 +7,7 @@
PORTNAME= autoconvert
PORTVERSION= 0.3.16
+PORTREVISION= 1
CATEGORIES= chinese
MASTER_SITES= GOOGLE_CODE
PROJECTHOST= libhz
diff --git a/chinese/autoconvert/files/patch-Makefile b/chinese/autoconvert/files/patch-Makefile
index 996d6a1f35cd..7a9835ec224b 100644
--- a/chinese/autoconvert/files/patch-Makefile
+++ b/chinese/autoconvert/files/patch-Makefile
@@ -1,8 +1,8 @@
---- Makefile.orig Sat Apr 28 09:45:46 2001
-+++ Makefile Thu Dec 28 15:12:13 2006
-@@ -1,7 +1,7 @@
+--- Makefile.orig 2001-04-28 09:45:46.000000000 +0800
++++ Makefile 2010-06-30 10:13:29.000000000 +0800
+@@ -1,7 +1,6 @@
- CC=gcc
+-CC=gcc
-CFLAG=-O2 -g -Wall -Iinclude
-LIBS= -Llib -lhz
+CFLAG+=-Iinclude
@@ -10,7 +10,7 @@
.PHONY: all hzlib clean install-home install
-@@ -30,12 +30,11 @@
+@@ -30,12 +29,11 @@ install-home:
ln -s $(HOME)/bin/autogb $(HOME)/bin/autob5
chmod 755 $(HOME)/bin/autogb
install:
diff --git a/chinese/autoconvert/files/patch-hzconvert-Makefile b/chinese/autoconvert/files/patch-hzconvert-Makefile
index 525332066480..9a3f7623e611 100644
--- a/chinese/autoconvert/files/patch-hzconvert-Makefile
+++ b/chinese/autoconvert/files/patch-hzconvert-Makefile
@@ -1,9 +1,8 @@
---- hzconvert/Makefile.orig Mon Jan 8 18:03:21 2001
-+++ hzconvert/Makefile Thu Dec 28 10:30:43 2006
-@@ -1,18 +1,18 @@
+--- hzconvert/Makefile.orig 2001-01-08 18:03:21.000000000 +0800
++++ hzconvert/Makefile 2010-06-30 10:13:35.000000000 +0800
+@@ -1,18 +1,17 @@
-CC=gcc -I../include
-CFLAGS=-O2 -Wall -g
-+CC=gcc
+CFLAGS+=-fPIC -Wall -g -I../include
SHARED_LIB=libhz.so
SHARED_LIB_MAJOR=$(SHARED_LIB).0
@@ -20,7 +19,7 @@
libhzconvert: $(OBJS)
ar rs ../lib/libhz.a $(OBJS)
- gcc -fPIC -shared -Wl,-soname,$(SHARED_LIB_MAJOR) -o ../lib/$(SHARED_LIB_MINOR) $(OBJS) -ldl
-+ gcc -fPIC -shared -Wl,-soname,$(SHARED_LIB_MAJOR) -o ../lib/$(SHARED_LIB_MINOR) $(OBJS)
++ $(CC) -fPIC -shared -Wl,-soname,$(SHARED_LIB_MAJOR) -o ../lib/$(SHARED_LIB_MINOR) $(OBJS)
rm -f ../lib/$(SHARED_LIB_MAJOR)
rm -f ../lib/$(SHARED_LIB)
cd ../lib;ln -s $(SHARED_LIB_MINOR) $(SHARED_LIB_MAJOR)