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
This commit is contained in:
Clive Lin 2002-02-24 06:18:31 +00:00
parent 17bda94316
commit a2011f85a7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=55163
3 changed files with 23 additions and 20 deletions

View File

@ -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

View File

@ -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

View File

@ -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 )
{