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 Fix: Please, check and apply this patch.
State Changed From-To: open->closed Suggested patches committed, thanks.