summaryrefslogtreecommitdiff
path: root/chinese/qterm
diff options
context:
space:
mode:
authorClive Lin <clive@FreeBSD.org>2002-02-24 06:18:31 +0000
committerClive Lin <clive@FreeBSD.org>2002-02-24 06:18:31 +0000
commita2011f85a7d330d9b7a9843affcf97069e11443e (patch)
tree8c3ff60f1dca875df383e3ac15dc5b553cce189c /chinese/qterm
parento New port linux-edonkey-server version 16.38: A decentralized (diff)
o mv patch-aa to patch-Makefile
o add a new patch file: patch-qterm.cpp o change master site PR: ports/35103 Submitted: MAINTAINER
Diffstat (limited to 'chinese/qterm')
-rw-r--r--chinese/qterm/Makefile2
-rw-r--r--chinese/qterm/files/patch-aa19
-rw-r--r--chinese/qterm/files/patch-qterm.cpp22
3 files changed, 23 insertions, 20 deletions
diff --git a/chinese/qterm/Makefile b/chinese/qterm/Makefile
index 329c66a2182d..e793838b2b6d 100644
--- a/chinese/qterm/Makefile
+++ b/chinese/qterm/Makefile
@@ -9,7 +9,7 @@ PORTNAME= qterm
PORTVERSION= 0.1.3
CATEGORIES= chinese
MASTER_SITES= http://qterm.gnuchina.org/qterm-0.1.3/ \
- http://freebsd.sinica.edu.tw/~statue/
+ ftp://freebsd.sinica.edu.tw/pub/statue/qterm/
DISTNAME= ${PORTNAME}-${PORTVERSION}-1
MAINTAINER= statue@freebsd.sinica.edu.tw
diff --git a/chinese/qterm/files/patch-aa b/chinese/qterm/files/patch-aa
deleted file mode 100644
index 3ec4ccb77cbb..000000000000
--- a/chinese/qterm/files/patch-aa
+++ /dev/null
@@ -1,19 +0,0 @@
---- Makefile.orig Wed Sep 5 14:45:55 2001
-+++ Makefile Thu Oct 25 12:11:14 2001
-@@ -11,12 +11,12 @@
- CXX = g++
- CFLAGS = -pipe -Wall -W -O2 -DNO_DEBUG
- CXXFLAGS= -pipe -Wall -W -O2 -DNO_DEBUG
--INCPATH = -I$(QTDIR)/include
-+INCPATH = -I/usr/X11R6/include/qt2
- LINK = g++
- LFLAGS =
--LIBS = $(SUBLIBS) -L$(QTDIR)/lib -L/usr/X11R6/lib -lqt -lXext -lX11 -lm
--MOC = $(QTDIR)/bin/moc
--UIC = $(QTDIR)/bin/uic
-+LIBS = $(SUBLIBS) -L$(QTDIR)/lib -L/usr/X11R6/lib -lqt2 -lXext -lX11 -lm
-+MOC = /usr/X11R6/bin/moc2
-+UIC = /usr/X11R6/bin/uic
-
- TAR = tar -cf
- GZIP = gzip -9f
diff --git a/chinese/qterm/files/patch-qterm.cpp b/chinese/qterm/files/patch-qterm.cpp
new file mode 100644
index 000000000000..de9f77143912
--- /dev/null
+++ b/chinese/qterm/files/patch-qterm.cpp
@@ -0,0 +1,22 @@
+--- qterm.cpp.orig Thu Oct 25 22:28:43 2001
++++ qterm.cpp Tue Feb 19 09:37:37 2002
+@@ -340,8 +340,8 @@
+ }
+ else if(stat( strGlobal+"/qterm.cfg",&st)== 0)
+ {
+- strCmd="/bin/cp"+strGlobal;
+- strCmd+="qterm.cfg ";
++ strCmd="/bin/cp "+strGlobal;
++ strCmd+="/qterm.cfg ";
+ strCmd+=strMain;
+ if( system(strCmd)<0 )
+ {
+@@ -382,7 +382,7 @@
+ else if(stat( strGlobal+"/pic",&st)== 0)
+ {
+ strCmd="/bin/cp -fr "+strGlobal;
+- strCmd+="/pic";
++ strCmd+="/pic ";
+ strCmd+=strMain;
+ if( system(strCmd)<0 )
+ {