aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorclive <clive@FreeBSD.org>2002-02-24 14:18:31 +0800
committerclive <clive@FreeBSD.org>2002-02-24 14:18:31 +0800
commite0c7ebd8656db545397640ab689143a3ce9c806f (patch)
treeb43a2a747f94a7a513d0c39951946b87b2a75f73
parent0557c0bc1e27aae3cf6345a01c9ca4f50724cb35 (diff)
downloadfreebsd-ports-gnome-e0c7ebd8656db545397640ab689143a3ce9c806f.tar.gz
freebsd-ports-gnome-e0c7ebd8656db545397640ab689143a3ce9c806f.tar.zst
freebsd-ports-gnome-e0c7ebd8656db545397640ab689143a3ce9c806f.zip
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
-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 )
+ {