From andy@icc.surw.chel.su Sat May  1 02:23:08 1999
Return-Path: <andy@icc.surw.chel.su>
Received: from icc.surw.chel.su (surw.chel.su [195.54.2.162])
	by hub.freebsd.org (Postfix) with ESMTP id 72B3014FC2
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  1 May 1999 02:23:01 -0700 (PDT)
	(envelope-from andy@icc.surw.chel.su)
Received: (from andy@localhost)
	by icc.surw.chel.su (8.9.2/8.8.8) id NAA67818;
	Sat, 1 May 1999 13:22:58 +0400 (MSD)
	(envelope-from andy)
Message-Id: <199905010922.NAA67818@icc.surw.chel.su>
Date: Sat, 1 May 1999 13:22:58 +0400 (MSD)
From: Andrey Zakhvatov <andy@icc.surw.chel.su>
Reply-To: andy@icc.surw.chel.su
To: FreeBSD-gnats-submit@freebsd.org
Subject: Update port: games/xlines
X-Send-Pr-Version: 3.2

>Number:         11422
>Category:       ports
>Synopsis:       Update port: games/xlines
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat May  1 02:30:01 PDT 1999
>Closed-Date:    Sun May 2 19:13:00 PDT 1999
>Last-Modified:  Sun May  2 19:13:35 PDT 1999
>Originator:     Andrey Zakhvatov
>Release:        FreeBSD 3.1-RELEASE i386
>Organization:
South Ural Railway ICC
>Environment:

>Description:

   This is a patch to update games/xlines port.


diff -Nru xlines/Makefile xlines-1.0/Makefile
--- xlines/Makefile	Wed Aug 12 14:26:32 1998
+++ xlines-1.0/Makefile	Sat May  1 13:08:50 1999
@@ -24,6 +24,8 @@
 	@ ${INSTALL_PROGRAM} ${WRKSRC}/xlines ${PREFIX}/bin
 	@ ${MKDIR} ${PREFIX}/share/xlines
 	@ ${INSTALL_DATA} ${WRKSRC}/trolltech.gif ${PREFIX}/share/xlines
+
+post-install:
 .if !defined(NOPORTDOCS)
 	@ ${MKDIR} ${PREFIX}/share/doc/xlines
 	@ ${INSTALL_DATA} ${WRKSRC}/readme.lines ${PREFIX}/share/doc/xlines
diff -Nru xlines/patches/patch-aa xlines-1.0/patches/patch-aa
--- xlines/patches/patch-aa	Sat Jul 11 14:58:02 1998
+++ xlines-1.0/patches/patch-aa	Sat May  1 13:02:27 1999
@@ -1,16 +1,30 @@
---- Makefile	Mon Apr 27 21:47:35 1998
-+++ /home/andy/tmp/wrk/Makefile	Mon Jul  6 11:56:02 1998
-@@ -1,8 +1,8 @@
+--- Makefile	Tue Apr 28 01:47:35 1998
++++ /home/andy/tmp/wrk/Makefile	Sat May  1 13:01:53 1999
+@@ -1,8 +1,7 @@
 -INCDIR=/usr/local/qt/include
 -CFLAGS=-O2 -I/usr/X11/include -DSHOW_NEXT_COLORS
 -LFLAGS=-L/usr/local/qt/lib -lqt -L/usr/X11/lib -lX11
 -CC=gcc
 -MOC=/usr/local/qt/bin/moc
 +INCDIR=${X11BASE}/include/X11/qt
-+CFLAGS+=-I${X11BASE}/include -DSHOW_NEXT_COLORS
++CXXFLAGS+=-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 
+@@ -14,12 +13,12 @@
+ .SUFFIXES:	.cpp
+ 
+ .cpp.o:
+-	$(CC) -c $(CFLAGS) -I$(INCDIR) $<
++	$(CXX) -c $(CXXFLAGS) -I$(INCDIR) $<
+ 
+ all: $(TARGET)
+ 
+ $(TARGET): $(MOCFILES) $(OBJECTS) lines.h
+-	$(CC) $(OBJECTS) -o $(TARGET) $(LFLAGS) -I$(INCDIR)
++	$(CXX) $(OBJECTS) -o $(TARGET) $(LFLAGS) -I$(INCDIR)
+ 
+ lines.moc: lines.h
+ 	$(MOC) lines.h -o lines.moc


>How-To-Repeat:

>Fix:

   Please, check and apply this patch.


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: steve 
State-Changed-When: Sun May 2 19:13:00 PDT 1999 
State-Changed-Why:  
Committed, thanks! 
>Unformatted:
