Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Jul 1998 08:11:56 +0400 (MSD)
From:      Andrey Zakhvatov <andy@icc.surw.chel.su>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/7179: Update port: games/xlines
Message-ID:  <199807060411.IAA26743@icc.surw.chel.su>

next in thread | raw e-mail | index | archive | help

>Number:         7179
>Category:       ports
>Synopsis:       Update port: games/xlines
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul  5 21:10:01 PDT 1998
>Last-Modified:
>Originator:     Andrey Zakhvatov
>Organization:
South Ural Railway ICC
>Release:        FreeBSD 2.2.2-RELEASE i386
>Environment:

>Description:

   This is a patch to update games/xlines port.


diff -Nru xlines/Makefile xlines-1.0/Makefile
--- xlines/Makefile	Fri Feb 13 18:08:28 1998
+++ xlines-1.0/Makefile	Mon Jul  6 12:02:34 1998
@@ -17,18 +17,19 @@
 BUILD_DEPENDS=	moc:${PORTSDIR}/x11/qt
 
 USE_X11=	yes
-WRKSRC=		${WRKDIR}
+NO_WRKSUBDIR=	yes
 
-pre-patch:
-	 @ ${TR} -d "\015" < ${WRKSRC}/Makefile > ${WRKSRC}/Makefile.new
-	 @ ${MV} ${WRKSRC}/Makefile.new ${WRKSRC}/Makefile
+pre-build:
+	@ ${RM} ${WRKSRC}/lines.moc
 
 do-install:
 	@ ${INSTALL_PROGRAM} ${WRKSRC}/xlines ${PREFIX}/bin
 	@ ${MKDIR} ${PREFIX}/share/xlines
 	@ ${INSTALL_DATA} ${WRKSRC}/trolltech.gif ${PREFIX}/share/xlines
+.if !defined(NOPORTDOCS)
 	@ ${MKDIR} ${PREFIX}/share/doc/xlines
 	@ ${INSTALL_DATA} ${WRKSRC}/readme.lines ${PREFIX}/share/doc/xlines
 	@ ${INSTALL_DATA} ${WRKSRC}/readme.qt ${PREFIX}/share/doc/xlines
+.endif
 
 .include <bsd.port.mk>
diff -Nru xlines/files/md5 xlines-1.0/files/md5
--- xlines/files/md5	Fri Feb 13 18:08:29 1998
+++ xlines-1.0/files/md5	Mon Jul  6 11:43:00 1998
@@ -1 +1 @@
-MD5 (xlines.tar.gz) = 9e456bb7419b8cda6bc44ac9940913e4
+MD5 (xlines.tar.gz) = dd7ca76975023a5923e3adbfa8136995
diff -Nru xlines/patches/patch-aa xlines-1.0/patches/patch-aa
--- xlines/patches/patch-aa	Fri Feb 13 18:08:29 1998
+++ xlines-1.0/patches/patch-aa	Mon Jul  6 11:56:31 1998
@@ -1,20 +1,16 @@
---- Makefile.orig	Fri Feb 13 23:57:06 1998
-+++ Makefile	Fri Feb 13 23:57:30 1998
+--- Makefile	Mon Apr 27 21:47:35 1998
++++ /home/andy/tmp/wrk/Makefile	Mon Jul  6 11:56:02 1998
 @@ -1,8 +1,8 @@
 -INCDIR=/usr/local/qt/include
--CFLAGS=-O2 -I/usr/X11/include 
+-CFLAGS=-O2 -I/usr/X11/include -DSHOW_NEXT_COLORS
 -LFLAGS=-L/usr/local/qt/lib -lqt -L/usr/X11/lib -lX11
-+INCDIR=/usr/X11R6/include/X11/qt
-+CFLAGS=-O2 -m486 -pipe -I/usr/X11R6/include 
-+LFLAGS=-L/usr/X11R6/lib -lX11 -lqt
- CC=gcc
+-CC=gcc
 -MOC=/usr/local/qt/bin/moc
-+MOC=/usr/X11R6/bin/moc
++INCDIR=${X11BASE}/include/X11/qt
++CFLAGS+=-I${X11BASE}/include -DSHOW_NEXT_COLORS
++LFLAGS=-L${X11BASE}/lib -lqt -lX11
++#CC=gcc
++MOC=${X11BASE}/bin/moc
  
  SRC=lines.cpp lines.moc
- OBJECTS=lines.o
-@@ -23,3 +23,4 @@
- 
- lines.moc: lines.h
- 	$(MOC) lines.h -o lines.moc
-+
+ OBJECTS=lines.o 


>How-To-Repeat:

>Fix:

   Please, check and apply this patch.

>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807060411.IAA26743>