Bug 11422 - Update port: games/xlines
Summary: Update port: games/xlines
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-05-01 10:30 UTC by Andrey Zakhvatov
Modified: 1999-05-03 03:13 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Zakhvatov 1999-05-01 10:30:01 UTC
   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

Fix: 

Please, check and apply this patch.
Comment 1 Steve Price freebsd_committer freebsd_triage 1999-05-03 03:13:00 UTC
State Changed
From-To: open->closed

Committed, thanks!